57 thousand. Since 3 is closer to 0 than it is to 10
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.
72 = 6*12 = 3*2 * 4*3 = 3*2*2*2*3
72 = 2*2*2*3*3
72=2^3 * 3^2
You can check your answer by multiplying out the factors
2*2*2*3*3
2*2 is 4
4*2 is 8
8*3 is 24
24*3 is 72
checks
Answer:
See description below.
Step-by-step explanation:
An inequality is an equation with more than one solution and they use <, >,
or
. There are a number of ways to work with inequalities.
Solving: To solve inequalities in one variable, treat it just like an equation. Solve using inverse operations. If you divide or multiply by a -1 then be sure to flip the sign. For example, if you have > then it becomes <.
Graphing on a number line: To graph inequalities in one variable, use a number line. Plot a point on the number line with an open circle then an arrow pointing toward the solution set. If you have an equal to, you would shade in the open circle.
Solving: To solve inequalities in two variables, you need a system meaning more than one. You solve it like a system of equations by graphing.
Graphing: To graph inequalities with two variables, graph each in y=mx+b form using the y-intercept and slope. Connect the points with a dashed line unless equal to. Equal to inequalities have a solid line. To show the solution set, shade the side of the inequality which (x,y) points make it true. To find this, test a point by substituting into the inequalities.