diff options
Diffstat (limited to '2381/CH1/EX1.15/ex_15.sce')
-rwxr-xr-x | 2381/CH1/EX1.15/ex_15.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2381/CH1/EX1.15/ex_15.sce b/2381/CH1/EX1.15/ex_15.sce new file mode 100755 index 000000000..c48a683eb --- /dev/null +++ b/2381/CH1/EX1.15/ex_15.sce @@ -0,0 +1,13 @@ +//Example 15 // Energy +clc; +clear; +close; +//given data : +L=10*10^-3;// in H +C=20*10^-6;// in F +n=1/(2*%pi*sqrt(L*C)); +V=10;//in V +U=(1/2)*C*V^2; +disp(n,"Frequency,n(cycles/s) = ") +disp(U,"Energy of oscillations,U(J) = ") +//answer of frequency is calculated wrong in textbook |