summaryrefslogtreecommitdiff
path: root/3769/CH7/EX7.9/Ex7_9.sce
blob: 85d85cd5753c87eabfd83d5bf5ac55938c466014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Given
H1=10
a=5.0
b=4.2

//Calculation
I1=(H1*b)/(a*4)
A=I1*4/b

//Result
printf("\n Heat generated in 4 ohm resistor is %0.3f  cal/sec", A)