summaryrefslogtreecommitdiff
path: root/1319/CH6/EX6.20/6_20.sce
blob: ec966a582032eb3efca312ea260b1da8f6451117 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Current taken by a motor at 90 percent efficiency

clc;
clear;

V=500;
N=400/60;// Speed in rotations per sec
eff=90/100;
T=195 

Pd=2*%pi*N*T; // Power developed by the motor

Pi=Pd/eff; // Power input to the motor

I=Pi/V;

printf('The Current taken by the motor = %g A \n',I)