vel - function v = vel(g,m,cd,t...

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

View Full Document Right Arrow Icon
%John Wade %this is an example of a function file %inputs are g, m, cd, and t and output is velocity
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: function v = vel(g,m,cd,t) v=sqrt(g*m/cd)*tanh(sqrt(g*cd/m)*t);...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online