Cody has started running in a well-organized manner. He runs 1 0 0 m east, then turns left and runs another 1 0 m north, turns left and runs 1 m , again turns left and runs 0 . 1 m , and on the next turn 0 . 0 1 m , and so on.
Assuming that Cody can run in this pattern infinitely, the displacement from his initial position can be written as b a with a and b being positive integers and b square-free.
What is the value of a × b ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
@Dinesh Chavan , I wrote the solution exactly 1 minute before you ...
Answer is Square of diagonal of first two turn.Ha Ha 1 0 0 2 + 1 0 2 = 1 0 1 0 0
Log in to reply
What is the recurrence relation for displacent in n turns ? What is the computer program for this question's answer ?
Aren't the above questions good mind scratcher exercises ?
Very Good Solution without color.
Log in to reply
Oh thanks for reminding, i had forgotten, i will color it nowww ... :P :P :P
sign...I divided the distance 100 each time so I got the wrong answer
Hence the final answer could be a multiple of "10100" like 80800 or so...
Question asks to find distance from the initial position not the displacement. I think these two quantities are not always the same.
http://www.wolframalpha.com/input/?i=100%2A%20sum%20exp%28i%2A%CF%80%2F2%2Ak%29%2F10%5Ek%20for%20k%3D0%20to%20%E2%88%9E
I broke up displacement in each of the 4 directions and then combined the sum of individual distances like:
1 − 0 . 0 0 0 1 1 0 0 i − 1 − 0 . 0 0 0 1 1 i + 1 − 0 . 0 0 0 1 1 0 j − 1 − 0 . 0 0 0 1 0 . 1 j = 9 9 9 9 1 0 0 0 0 ( 1 0 0 i + 1 0 j − i − 0 . 1 j ) = 9 9 9 9 1 0 0 0 0 ( 9 9 i + 9 . 9 j )
And then calculate the displacement. I'm getting the wrong answer as 98000199. Where am I wrong?
Why actualDisplacement = root of SQUARE of Sx + SQUARE of Sy.. I mean why did you square rooted them?
Did the same
The question, though seemingly twisty, is actually easy. Notice that cody moves with distance of 1 0 0 , 1 0 , 1 , 0 . 1 . . . . . which form a G.P. Now, our aim is to find the distance. lets consider the horizontal displacement first. We notice that its 1 0 0 − 1 + 0 . 0 1 − 0 . 0 0 0 1 . . . . . . uptill infinity. Now, we can surely find its sum by geometric progression formula, as 1 + 0 . 0 1 1 0 0 ...
Now, lets try to find out vertical displacement. Notice that its also 1 0 − 0 . 1 + 0 . 0 0 1 . . . . . . , which again is a GP with a sum of 1 + 0 . 0 1 1 0
Thus, we can the actual displacement is ( 1 + 0 . 0 1 1 0 0 ) 2 + ( 1 + 0 . 0 1 1 0 ) 2 = 1 0 1 1 0 0 0
Thus, the answer is 1 0 1 0 0 0
Also, if Cody moves generally in the same way with distances as
a
,
a
r
,
a
r
2
,
a
r
3
,
.
.
.
.
.
.
, Then the displacement after infinite turns will be
1
+
r
2
a
Started with 100 with r = 0.1
So distances with change in direction would go like, 100, 10, 1, 10^-1, 10^-2, 10^-3, 10^-4, 10^-5
After reaching direction of the point of beginning 1st time,
Displacement towards East = Walk towards East - Walk towards West = 100 - 1 = 99m
Displacement towards North = Walk towards North - Walk towards South = 10 - 0.1 = 9.9m
Effective displacement from point of beginning to the point of completion of first round. D(Eff) = sqrt(Displacement in towards East^2 + Displacement in towards North^2) D(Eff) = sqrt(99^2 + 9.9^2) = sqrt(99^2 + 99^2 0.1^2) = 99 sqrt(1^2 + 0.1^2) = 99*sqrt(1.01)
Effective displacement in every iteration can be given as,
99 sqrt(1.01), 99 sqrt(1.01) 10^-4, 99 sqrt(1.01)*10^-8....to infinity
GP Sum to infinity = a/(1-r)
a = 99*sqrt(1.01) r = 10^-4
S = 99*sqrt(1.01) / (1 - 10^-4)
For the purpose of problem, after sum adjustment, S = 99 1.01 / (1 - 10^-4) sqrt(1.01) S = 99.99 * 10^4/ (10^4 - 1) sqrt(1.01) S = 99.99 * 10^4/ (9999) sqrt(1.01) S = 10^2/ sqrt(1.01) S = 100/ sqrt(1.01)
Which is in the form of a/sqrt(b), so a = 100 b = 1.01
a X b = 101
Why am I wrong? :(
I did it the same way. But I didn't noticed that Cody started with 100, and I did my operations starting with 10, so my answer was 10100 hahaha. Well, I'll be more careful the next time. By the way, excellent solution!
As in other solutions, Cody begins his jogging at (x,y)=(0,0). His position converges rapidly to around (x,y)=(99.0099009901, 9.90099009901). We hazard the guess that this is x=10000/101 and y=1000/101, hence the solution.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
Ask distance not displacement in question
Log in to reply
Note, that it says final distance from his original point in the question, which is equivalent to saying his overall displacement.
break into x-component and y-component as you would do it in physics.
I use Wolfram and sum geometrical progression
1 + k + k 2 + . . . = 1 / ( 1 − k ) , k = 1 / 1 0 4
With aid of a complex plane,
Final position (with starting point as origin)
=
1
0
0
+
1
0
i
−
1
−
⋯
=
1
−
0
.
1
i
1
0
0
Magnitude=
1
2
+
0
.
1
2
1
0
0
=
1
0
1
1
0
0
0
a
×
b
=
1
0
0
0
×
1
0
1
=
1
0
1
0
0
0
Problem Loading...
Note Loading...
Set Loading...
Let C o d y start from ( 0 , 0 ) .
∙ Then, his displacement along X axis is actually
+ 1 0 0 − 1 + 1 0 0 1 − 1 0 4 1 . . . ∞
∙ and displacement along Y axis is actually
+ 1 0 − 1 0 1 + 1 0 3 1 − 1 0 5 1 . . . ∞
These are 2 GPs , a 1 = 1 0 0 , a 2 = 1 0 and r 1 = r 2 = 1 0 0 − 1
By using sum of infinite terms of a GP ,i.e. s u m ∞ = 1 − r a , we get that
S x = 1 − ( − 1 0 0 1 ) 1 0 0 = 1 0 1 1 0 0 0 0
S y = 1 − ( − 1 0 0 1 ) 1 0 = 1 0 1 1 0 0 0
Actual displacement = S x 2 + S y 2 = 1 0 1 2 1 0 8 + 1 0 6
Hence the displacement is 1 0 1 2 1 0 6 ( 1 0 2 + 1 ) = 1 0 1 1 0 6 = 1 0 1 1 0 0 0
Hence asked thing is 1 0 1 × 1 0 0 0 = 1 0 1 0 0 0 .