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 --- 24/CH33/EX33.3/Example33_3.sce | 17 +++++++++++++++++ 24/CH33/EX33.3/Example33_3_result.txt | 5 +++++ 2 files changed, 22 insertions(+) create mode 100755 24/CH33/EX33.3/Example33_3.sce create mode 100755 24/CH33/EX33.3/Example33_3_result.txt (limited to '24/CH33/EX33.3') diff --git a/24/CH33/EX33.3/Example33_3.sce b/24/CH33/EX33.3/Example33_3.sce new file mode 100755 index 000000000..1f402b8dd --- /dev/null +++ b/24/CH33/EX33.3/Example33_3.sce @@ -0,0 +1,17 @@ +//Given that +L = 12*10^-3 //in H +C = 1.6*10^-6 //in F +R = 1.5 //in ohm + +//Sample Problem 33-3a +printf("**Sample Probelm 33-3a**\n") +//Q/2 = Q*e^(-R*t/(2*L)) +t = -2*L/R*log(0.50) +printf("At time t=%1.2esec, the amplitude of charge oscillation is half of the maximum value\n", t) + +//Sample Problem 33-3b +printf("\n**Sample Probelm 33-3b**\n") +w = 1/sqrt(L*C) +T = (2*%pi)/w +n = t/T +printf("The number of oscillation are %1.2f till t=%1.2e", n, T) \ No newline at end of file diff --git a/24/CH33/EX33.3/Example33_3_result.txt b/24/CH33/EX33.3/Example33_3_result.txt new file mode 100755 index 000000000..79848532b --- /dev/null +++ b/24/CH33/EX33.3/Example33_3_result.txt @@ -0,0 +1,5 @@ +**Sample Probelm 33-3a** +At time t=1.11e-002sec, the amplitude of charge oscillation is half of the maximum value + +**Sample Probelm 33-3b** +The number of oscillation are 12.74 till t=8.71e-004 \ No newline at end of file -- cgit