summaryrefslogtreecommitdiff
path: root/2672/CH3/EX3.35/Ex3_35.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.35/Ex3_35.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.35/Ex3_35.sce')
-rwxr-xr-x2672/CH3/EX3.35/Ex3_35.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2672/CH3/EX3.35/Ex3_35.sce b/2672/CH3/EX3.35/Ex3_35.sce
new file mode 100755
index 000000000..ea2a22579
--- /dev/null
+++ b/2672/CH3/EX3.35/Ex3_35.sce
@@ -0,0 +1,22 @@
+//Example 3_35
+clc;
+clear;
+close;
+format('v',6);
+//given data :
+V=230;///V
+f=50;//Hz
+Im=1.5;//A//Maximum current
+VC=600;//V
+VL=600;//V
+R=V/Im;//ohm
+XL=VL/Im;//ohm
+L=XL/2/%pi/f;//H
+XC=XL;//ohm
+C=1/2/%pi/f/XC;//F
+disp(R,"Resistance(ohm)");
+format('v',5);
+disp(L,"Inductance(H)");
+format('v',11);
+disp(C,"Capacitance(F)");
+//Answer is not accurate in the book.