**3) A vehicle is filled with fuel. One gallon of fuel can propel every 10 pounds of vehicle weight a**

distance of 2 miles (5 pounds of weight 4 miles, etc). A gallon of fuel weighs 8 pounds.

distance of 2 miles (5 pounds of weight 4 miles, etc). A gallon of fuel weighs 8 pounds.

**a) Write a general expression for the distance traveled by the vehicle**

**b) If f0 is the starting amount of fuel, write an analytic equation for the total distance traveled**

**c) If the vehicle weighs 100 pounds when empty, and has traveled 1 mile after expending half**

of its starting amount of fuel, what is the starting amount of fuel, and how far does it

ultimately take the vehicle (round to 4 decimal places)?

of its starting amount of fuel, what is the starting amount of fuel, and how far does it

ultimately take the vehicle (round to 4 decimal places)?

**d) Suppose you didn’t discover that an analytic solution to this problem requires calculus (now**

there’s a hint!). Write a short program in C++, Basic, Matlab or pseudocode to approximate

the amount of fuel required to move the vehicle (100 pounds when empty) 5 miles.

there’s a hint!). Write a short program in C++, Basic, Matlab or pseudocode to approximate

the amount of fuel required to move the vehicle (100 pounds when empty) 5 miles.

Weight of Vehicle = V; Weight of Fuel/Gallon = F; Gallons of Fuel = G; Distance Travelled = D; Weight of Vehicle and Fuel = W

I am not sure the difference between part a and b but here is my attempt.

a) D is directly proportional to G and inversely proportional to W

D ~ G/W => D = KG/W, where K is proportionality constant

In this case when D = 2; G = 1; W = 10. Therefore, K = 20.

Thus, when W = 5; D = 20*1/5 = 4

b) W = V + F*G => D = KG/(V+FG)

Total distance travelled is tricky because as soon as you burn a little fuel the weight reduces and the further you can travel.

Therefore, to find distance travelled we first need to know what happens when fuel changes by small amount i.e. differentiate the above equation with respect to G

Now to find total distance travelled we have to integrate when fuel G ranges from f

_{0}to 0

Let us first solve indefinite integral

Now adding limits total distance travelled is

c) Weight of Vehicle = V = 100lbs; Weight of Fuel/Gallon = F = 8lbs/g; Gallons of Fuel = G = f

_{0}–> f

_{0}/2; Distance Travelled = D = 1 and K = 20

Substituting,

10000+1200f

_{0}+32f

_{0}

^{2}= 250*(-4f

_{0})

32 f

_{0}

^{2}+ 2200f

_{0}+ 100 = 0

f

_{0}~ –63.8562 & –4.8938

The equation has 2 roots and both negative. So, it is clear I have made a mistake. However, my calculus is a little rusty and I will leave the solution so that the internet can explain the mistake

d) This will only make sense if I have the correct equation. So, I will not attempt to solve it.

## No comments:

## Post a Comment