blob: 48e253450ed91ec7faef57afcaa6eed8236359c7 (
plain)
1
2
3
4
5
6
7
|
//Example 23.8
L=0.632*10^-3;//Inductance (H)
I=30;//Current (A)
E_ind=(1/2)*L*I^2;//Energy stored (J)
printf('Energy stored in the inductor = %0.3f J',E_ind)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|