summaryrefslogtreecommitdiff
path: root/620/CH3/EX3.12/example3_12.sce
blob: 523b2cf080959473122f62e9cd51035d72af149b (plain)
1
2
3
4
p1=50;
p2=30;
n=p2/p1*100;
disp("the efficeiency (in %) of the power supply is"); disp(n);