Answer:
4 : 13
Step-by-step explanation:
Divide both numbers by 6
Answer:
perpendicular I believe
Step-by-step explanation:
I'd plot the points and make a line using a ruler to check though.
<u>Answer:</u>
y=-1/4x-1
<u>How to find the </u><u>slope</u>
To find the slope of the line you need to do the change in y/change in x. This is also known as the rise/run. To do this you count the spaces in between the two points.
In this graph the change in y (rise) is 2. The change in x (run) is 8. Since the line is going down they are negative. The rise/run is -2/8. This can be simplified to -1/4.
Slope: -1/4x
<u>How to find the y-intercept</u>
To find the y-intercept, you need to look at where the line crosses y.
In this graph the line crosses y at -1.
Y-intercept: -1
<u>Final</u><u> </u><u>equation</u><u>:</u><u> </u><u>-</u><u>1</u><u>/</u><u>4x-1</u>
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.