diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /24/CH33/EX33.3 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '24/CH33/EX33.3')
-rwxr-xr-x | 24/CH33/EX33.3/Example33_3.sce | 17 | ||||
-rwxr-xr-x | 24/CH33/EX33.3/Example33_3_result.txt | 5 |
2 files changed, 22 insertions, 0 deletions
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 |