{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

freeFall

# freeFall -...

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

function [time_to_impact_with_ground kinetic_energy]=freeFall(mass_in_kg,height_in_ft) %function to compute the time (seconds) to impact with ground and the %kinetic energy (energy) measured in Joules or kg*m^2/s^2 %usage: [time_to_impact_with_ground kinetic_energy]=freeFall(mass_in_kg,height_in_ft) %mass in kg and height in ft gravity=9.81; velocity_initial=0.0; meters=height_in_ft./3.28; %3.28ft = 1 meter
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: time_to_impact_with_ground=sqrt(2.*meters/gravity); %displacement = velocity_initial.*time+0.5.*gravity.*time.^2 %velocity_initial=0.0, so velocity_initial.*time will equal 0 velocity=velocity_initial+gravity.*time_to_impact_with_ground; %velocity=velocity_initial+acceleration.*time, the acceleration is gravity and the time is in seconds kinetic_energy=0.5.*mass_in_kg.*velocity.^2;...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern