summaryrefslogtreecommitdiff
path: root/1388/CH3/EX3.4/3_4.sce
blob: ec1f58071d8cd8cc42999d83035ad9d3e59f5742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc
//initialisation of variables
i= 1 //amp
r= 2 //ohms
t= 10 //min
dT= 2.73 //C
x= 0.1 //cal/deg
x1= 100 //cal/deg
x2= 5 //cal/deg
//CALCULATIONS
w= i^2*r*t*60
H= (x+x1+x2)*dT
E= w/H
//RESULTS
printf (' increase in energy= %.2f cal ',E)