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
|