Step-by-step explanation:
Hi, your question isn't totally complete. Here's the likely full question:
Random walk. A Java programmer begins walking aimlessly. At each time step, she takes one step in a random direction (either north, east, south, or west), each with probability 25%. She stops once she is at Manhattan distance r from the starting point. How many steps will the random walker take? This process is known as a two-dimensional random walk.
Write a program RandomWalker.java that takes an integer command-line argument r and simulates the motion of a random walk until the random walker is at Manhattan distance r from the starting point. Print the coordinates at each step of the walk (including the starting and ending points), treating the starting point as (0, 0). Also, print the total number of steps taken.
Answer:
I think the answers is B
Step-by-step explanation:
But im so sorry if its not right...
<em>H</em><em>a</em><em>v</em><em>e</em><em> </em><em>a</em><em> </em><em>n</em><em>i</em><em>c</em><em>e</em><em> </em><em>d</em><em>a</em><em>y</em>
The input is known as x and the output is known as y in math.
So you’re stating that we’re making the equation equal the output, y, and we’re adding based off of the word “more”. Now that we know we’re adding, we have to find what we are adding together. We are adding x and 11 is that it equals y. Note that x and y could be many different variables and values.
Y= x+11
D because it would 44 below since 4 times 7 = 28 so it would switch over for to 6 times 7 =44