summaryrefslogtreecommitdiff
path: root/2045/CH12/EX12.7/Ex12_7.sce
blob: 527da95a14f1b96467af1144531781b1c7682719 (plain)
1
2
3
4
5
6
7
8
9
10
11
//pagenumber 555 example 7
clear
ratcur=3000;//ampere
freque=50;//hertz
i=sqrt(ratcur^2/2);
disp("current   =   "+string((i))+"ampere");
i=((ratcur)/sqrt(2))^2/(2*freque);
disp("current   =   "+string((i))+"ampere square second");