blob: b435b3a7df3f82ddd0534cfbe022dac4e3fca540 (
plain)
1
2
3
4
5
6
7
|
//Example 7.2
m=30;//Mass (kg)
v=0.500;//Speed (m/s)
KE=(1/2)*m*v^2;//Kinetic energy (J)
printf('Kinetic energy = %0.2f J',KE)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|