summaryrefslogtreecommitdiff
path: root/3648/CH5/EX5.4/Ex5_4.sce
blob: 6d422affb9f11e79a53fdff40b3f49205831d813 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 5_4
clc();
clear;
//To find out the power being developed in motor
m=200  //units on Kg
g=9.8   //units in meters/sec^2
Fy=m*g   //units in Newtons
vy=0.03   //units in meter/sec
P=Fy*vy   //units in Watts
P=P*(1/746)  //units in hp
printf("Power developed P=%.5f hp",P)