This preview shows page 1. Sign up to view the full content.
Unformatted text preview: %Find time through d=rt, t=d/r t = lb / vb %time for barge to pass = time for orange to drop %free fall distance = intial velocity * time + (1/2) * g * t^2, intial velocity = 0 d = (1/2) * g * t^2 %adjust height for barge's height over water level d = d + bh %print statement fprintf('The height of the railing from the water is %.0f feet', d)...
View Full Document
This note was uploaded on 01/22/2011 for the course ENG 006 taught by Professor Lagerstrom during the Spring '06 term at UC Davis.
- Spring '06