gneill - Thank you very much for your help. This definitely got me pointed in the right direction. Now I just need to figure out how to use a "for loop" to execute this in Matlab!
Again, thank you for taking the time!
The problem is presented in three parts:
1) Find a way to approximately model the height from t = 1 to 250
2) Find height values over the same time period using the equation for the theoretical height.
3) Plot the data from parts 1 and 2 to give a comparison.
Parts 2 and 3 are no problem...
Homework Statement
The flow of water into a barrel = 36.8 lb/sec.
The height of the water = h = weight of the water in the barrel/(density of water)(bottom area of barrel)
There is a "leak" at the bottom of the barrel at h = 0. Flow out of the barrel is related to the depth of the water in...