summaryrefslogtreecommitdiff
path: root/2234/CH3/EX3.27/ex3_27.sce
blob: 1eb0cd78f5ce0a3053f2ed09a70eac24dcd79624 (plain)
1
2
3
4
5
clc;
s=12;  //sum of squares
hv=sqrt(s);  //heating voltage =sum of square roots
disp(hv,"Heating voltage in volts = ");  //displaying result
disp(s/10,"Power dissipated in Watt = ");  //displaying result