blob: 95e038fa2b644c71c7bd01367bf9cbbddd2cd414 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
clear
//Given
c=4.2 //KJ/Kg/C
m=0.2 //Kg
a=90
b=20
t=30
V=230
//calculation
d=a-b
H=c*m*d
P=H/t
I=P/V
//Result
printf("\n The value of current is %0.2f A",I*10**3)
|