summaryrefslogtreecommitdiff
path: root/3769/CH7/EX7.19/Ex7_19.sce
blob: 6f3e267c939a6d906e3aceeadecc795f252de06b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear
//Given
I=0.5
R=100
t=30
a=4.2
m=200                      //g
w=10                      //g

//Calculation
H=I**2*R*t*60/a
A=H/(m+w)

//Result
printf("\n The rise of temperature is %0.2f  degree C",A)