blob: 09702de7e08da42d1adc9014c42b18d35fd98531 (
plain)
1
2
3
4
5
6
7
8
9
|
//Finding heat
//Example 15.29(pg. 411)
clc
clear
C=2*(10^-6)//capacitance of condenser in F
V=10000//PD across condenser in Volts
E=(1/2)*C*(V^2)//energy stored in condenser in Joules
H=E/4.2//heat produced in the wire in calories
printf('Thus heat produced in the wire is %2.2f calories',H)
|