|
| Total Answers and Comments: 3 |
Last Update: February 21, 2010 Asked by: abhijit_de2000 |
|
| | |
|
Submitted by: Raze2dust Ok..I realize this needs a bit of math(calculus, to be specific)..not sure if theres any other way out..
A<--------x------>C D ------------------------------------ ^ | 900m | V ------------------------------------ B <---------3000m---------------->
Let the path be A-C-B and angle BCD=t Now CD=3000-x= 900/tan(t)=900 cot(t). So x=AB=3000-900cot(t) BD=900 So, BC= 900/sin(t) = 900cosec(t)
Total cost = f = 4*AB+5*BC = 4(3000-900cot(t))+5(900cosec(t)) =12000-3600cot(t)+4500cosec(t)
We need to minimize f. So put df/dx=0 gives 3600cosec2(t)-4500cosec(t)cot(t)=0 3600cosec(t)=4500cot(t)..write cosec as 1/sin and cot as cos/sin.. gives cos(t)=4/5. So tan(t)=3/4. BD/CD=3/4 900/(3000-x)=3/4 3600=9000-3x So x=1800m
I'll try to think of a simpler method though...
Above answer was rated as good by the following members: smokincigar07 | Go To Top
|