freefallvel - % m = mass(kg) % cd = second-order drag...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function v = freefallvel(t,m,cd) %freefallvel:bungee velocity with second-order drag %v=freefallvel(t,m,cd) computes the free-fall velocity % of an object with second-order drag %input: % t = time(s)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % m = mass(kg) % cd = second-order drag coefficient (kg/m) % output: % v = downward velocity (m/s) g=9.81; %acceleration due to gravity v = sqrt(g*m/cd)*tanh(sqrt(g*cd/m)*t);...
View Full Document

This note was uploaded on 09/27/2011 for the course EGM 3344 taught by Professor Raphaelhaftka during the Spring '09 term at University of Florida.

Ask a homework question - tutors are online