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 --- 1535/CH2/EX2.1/Ch02Ex1.sci | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 1535/CH2/EX2.1/Ch02Ex1.sci (limited to '1535/CH2/EX2.1/Ch02Ex1.sci') diff --git a/1535/CH2/EX2.1/Ch02Ex1.sci b/1535/CH2/EX2.1/Ch02Ex1.sci new file mode 100755 index 000000000..f7df1fa41 --- /dev/null +++ b/1535/CH2/EX2.1/Ch02Ex1.sci @@ -0,0 +1,11 @@ +// Scilab Code Ex2.1 : Page-46 (2010) +function V = f(t) + V = 0.2*sin(120*%pi*t); +endfunction +t = 0; // Time when peak value of current occurs +C = 10e-012; // Capacitance of the capacitor, farad +I = C*derivative(f,t); +printf("\nThe peak value of displacement current = %6.4e A", I); + +// Result +// The peak value of displacement current = 7.5398e-010 A -- cgit