snowplow problem
|
03-19-2021, 04:46 PM
Post: #4
|
|||
|
|||
RE: snowplow problem
(03-18-2021 08:38 PM)Albert Chan Wrote: First hour snowplow distance traveled = doubled of 2nd hour (due to more snow) Extending the problem to distance traveled ratio = k, k > 1 ∫(1/t, t=x .. x+1) = k * ∫(1/t, t=x+1 .. x+2) ln((x+1)/x) = k * ln((x+2)/(x+1)) ln(x/(x+1)) = -k * ln(2 - x/(x+1)) Let z = x/(x+1), 0 < z < 1 z = (2-z)^(-k) f(z) = z - (2-z)^(-k) f'(z) = 1 - k*(2-z)^(-k-1) Solve by Newton's method, and we need a rough guess. (estimate both integrals with single rectangle) 1/(x+1/2) = k /(x+3/2) x = (3-k)/(2k-2) -- rough guess for x z = x/(x+1) = (3-k) / ((3-k)+(2k-2)) = (3-k)/(k+1) Code: function snowplow(k, verbal) lua> snowplow(1.5, true) 1.4999999999999998 1.566890844473769 1.568114464087791 1.5681148594401135 1.5681148594401568 --> 94 minutes lua> snowplow(2, true) 0.49999999999999994 0.6136363636363635 0.6180278644242209 0.6180339887380153 0.618033988749895 --> 37 minutes |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
snowplow problem - EdS2 - 03-18-2021, 03:24 PM
RE: snowplow problem - Albert Chan - 03-18-2021, 08:38 PM
RE: snowplow problem - Albert Chan - 03-19-2021 04:46 PM
RE: snowplow problem - Albert Chan - 03-20-2021, 01:10 PM
RE: snowplow problem - Albert Chan - 03-23-2021, 05:50 PM
RE: snowplow problem - Albert Chan - 03-27-2021, 04:34 PM
RE: snowplow problem - EdS2 - 03-19-2021, 11:34 AM
RE: snowplow problem - Ren - 03-19-2021, 07:01 PM
RE: snowplow problem - EdS2 - 03-22-2021, 12:18 PM
|
User(s) browsing this thread: 1 Guest(s)