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 --- 3369/CH14/EX14.4.2.1/Ex14_1.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 3369/CH14/EX14.4.2.1/Ex14_1.sce (limited to '3369/CH14/EX14.4.2.1') diff --git a/3369/CH14/EX14.4.2.1/Ex14_1.sce b/3369/CH14/EX14.4.2.1/Ex14_1.sce new file mode 100755 index 000000000..187a4d2cd --- /dev/null +++ b/3369/CH14/EX14.4.2.1/Ex14_1.sce @@ -0,0 +1,14 @@ +//Chapter 14,Example 1, page 453 +//Determine the time to crest +clear +clc +I = 400 // mH of inductance +L = 500*10^-3 // mH +C = 1.5*10^-6 // micro F + +f = 1/(2*%pi*sqrt(L*C)) +t = 10**6/(4*f) // calulation done in the text is wrong +printf("\n f1 = %f Hz",f) +printf("\n Time to crest = %f micro seconds",t) + +// Answer may vary due to round off error. -- cgit