This preview shows page 1. Sign up to view the full content.
Unformatted text preview: %railing above the water level in feet, to the nearest foot. S = 7.7 * (6076/3600); %speed is converted into ft per sec from knots D = 56; % distance is in feet T = D / S; %time = distance/speed %time passed while the barge %Compute the height of Golden gate bridge g = 32.2; %gravity given in ft per secoond square height_bridge = (.5 * g * (T)^2 )+ 4; % 4 is added baecause barge is 4 ft % above the water level fprintf('\n Height of the railing above the water level is %.0f feet \n\n:', height_bridge)...
View Full Document
- Spring '07