summaryrefslogtreecommitdiff
path: root/1301/CH5/EX5.10/ex5_10.sce
blob: 1743113350e19ab0613d460051ee04161265f0a8 (plain)
1
2
3
4
5
6
clc;
p=1;   //power output in hp
p=1*746 //power output in Watt using 1hp = 746Watt 
F=300; //Force in Newton
v=p/F; //calculating v in m/sec using P=F*v
disp(v,"Velocity in m/sec = ");  //displaying velocity in m/sec