summaryrefslogtreecommitdiff
path: root/3769/CH7/EX7.2/Ex7_2.sce
blob: c17b48f8dd59b317a440b8bed02bf040b2474415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
V=230                //v
P=100
t=20*60
V1=115                   //V

//Calculation
R=V**2/P
E=(V1**2*t)/R

//Result
printf("\n Heat and light energy is %0.3f  J", E)