summaryrefslogtreecommitdiff
path: root/896/CH4/EX4.2/2.sce
blob: 5945827fd10dfc1d5cacde452b988c8b5d598a90 (plain)
1
2
3
4
5
6
7
clc
//Example 4.2
//calculate the kinetic energy of bullet
m=0.01;//lbm mass of bullet
v=2000;//ft/s
KE=(m*v^2/2)*(1.356/32.2)//J
printf("the kinetic energy of bullet is %f J",KE);