summaryrefslogtreecommitdiff
path: root/3835/CH2/EX2.30
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3835/CH2/EX2.30
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 '3835/CH2/EX2.30')
-rw-r--r--3835/CH2/EX2.30/Ex2_30.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3835/CH2/EX2.30/Ex2_30.sce b/3835/CH2/EX2.30/Ex2_30.sce
new file mode 100644
index 000000000..68913d182
--- /dev/null
+++ b/3835/CH2/EX2.30/Ex2_30.sce
@@ -0,0 +1,23 @@
+clear
+//
+v=120
+r=40
+i=v/(r)
+//applying kvl to the closed loop
+v=3*520
+printf("\n voltage= %0.1f v",v)
+//when v=120,R can be found by I*(r+20)=120-->r=20
+r=20
+printf("\n r=20 ohm")
+//when r=20 total r=20+20+20=60
+r=60
+l=10
+tc=l/(r) //time constant
+printf("\n tc= %0.1f sec",tc)
+//i=I0*e^-(t/tc)=3*e^(-6t)
+energy=(10*9)/(2)
+benergy=0.05*energy
+printf("\n balance energy= %0.1f J",benergy)
+//(L*i^2)/2=2.25-->hence i=0.6708
+//3*e^-6t=0.6708-->e^-6t=0.2236-->applying log on both sides we get t=0.25
+printf("\n t=0.25 sec")