From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2381/CH1/EX1.15/ex_15.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 2381/CH1/EX1.15/ex_15.sce (limited to '2381/CH1/EX1.15') 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 -- cgit