summaryrefslogtreecommitdiff
path: root/3843/CH3/EX3.6/Ex3_6.sce
blob: c075fbd932a76a66ad08928eee87840b11dfa826 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Example 3_6
clc;funcprot(0);
// Given data
T=100;// The torque in N.m
n=3000;// rpm

// Calculation
omega=n*(2*%pi)*(1/60);// rad/s
W=T*omega;// The power in W
Hp=W/746;// The horse power in hp
printf("\nThe horse power delivered,Hp=%2.1f hp",Hp);