summaryrefslogtreecommitdiff
path: root/3850/CH38/EX38.5
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3850/CH38/EX38.5
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3850/CH38/EX38.5')
-rw-r--r--3850/CH38/EX38.5/Ex38_5.sce29
-rw-r--r--3850/CH38/EX38.5/Ex38_5.txt4
2 files changed, 33 insertions, 0 deletions
diff --git a/3850/CH38/EX38.5/Ex38_5.sce b/3850/CH38/EX38.5/Ex38_5.sce
new file mode 100644
index 000000000..0f754603d
--- /dev/null
+++ b/3850/CH38/EX38.5/Ex38_5.sce
@@ -0,0 +1,29 @@
+
+//To find the Time Constant Maximum Current and Time
+
+//Example 38.5
+
+clear;
+
+clc;
+
+L=20*10^-3;//Seld Inductance of Inductor
+
+R=100;//Resistance of the Resistor in ohms
+
+tau=L/R;//Time Constant of L-R circuit
+
+printf("(a) Time Constant =%.2f ms",tau*10^3);
+
+E=10;//EMF of Battery in Volts
+
+I=E/R;//Maximum Current in Amperes
+
+printf("\n (b) Maximum current = %.2f A",I);
+
+iper=0.99;//Current reaches 99% of the Maximum Value
+
+t=tau*-log(1-iper);//Time elapsed befor the current reaches 99% of the maxium value
+
+printf("\n (c) Time elapsed before the current reaches 99 percent of the maximum value = %.2f ms",t*10^3);
+
diff --git a/3850/CH38/EX38.5/Ex38_5.txt b/3850/CH38/EX38.5/Ex38_5.txt
new file mode 100644
index 000000000..fcd5c6f1a
--- /dev/null
+++ b/3850/CH38/EX38.5/Ex38_5.txt
@@ -0,0 +1,4 @@
+
+ (a) Time Constant =0.20 ms
+ (b) Maximum current = 0.10 A
+ (c) Time elapsed before the current reaches 99 percent of the maximum value = 0.92 ms \ No newline at end of file