summaryrefslogtreecommitdiff
path: root/2672/CH3/EX3.36/Ex3_36.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2672/CH3/EX3.36/Ex3_36.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2672/CH3/EX3.36/Ex3_36.sce')
-rwxr-xr-x2672/CH3/EX3.36/Ex3_36.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2672/CH3/EX3.36/Ex3_36.sce b/2672/CH3/EX3.36/Ex3_36.sce
new file mode 100755
index 000000000..84cc2421a
--- /dev/null
+++ b/2672/CH3/EX3.36/Ex3_36.sce
@@ -0,0 +1,19 @@
+//Example 3_36
+clc;
+clear;
+close;
+format('v',6);
+//given data :
+f=100;//Hz
+C=100;//micro F
+Cdash=200;//micro F//When current is half of maximum
+L=1/(2*%pi*f)^2/(C*10^-6);//H
+disp(L,"Inductance(H)");
+XL=2*%pi*f*L;//ohm
+XC=1/2/%pi/f/(Cdash*10^-6);//ohm
+//at I=Im/2 Z will be 2*R
+//Im=V/R and I=V/Z=V/sqrt(R^2+(XL-XC)^2)
+R=(XL-XC)/sqrt(3);//ohm
+format('v',5);
+disp(R,"Resistance(ohm)");
+//Answer is not accurate in the book.