summaryrefslogtreecommitdiff
path: root/1319/CH12/EX12.9/i_9.sce
blob: 749b5aabfbf602609f8e8f7f67ad8e657ae86644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Determine the output of the motor.

clc;
clear;

eff=80/100;

V=220;
I=8;

// Power Equation P=V*I

P=V*I;// Input Power

Pout=eff*P;// Output Power

disp('watts',Pout,'The output power of the motor =')