blob: b2eb77f35efb3319f4cbb0e544d858e091666008 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear
//Given
V=200 //V
P=500.0 //W
V1=160 //v
//Calculation
R=V**2/P
H=V1**2/R
P1=P-H
H1=P1*100/P
//Result
printf("\n Heat percentage is %0.3f percentage", H1)
|