summaryrefslogtreecommitdiff
path: root/1760/CH2/EX2.33/EX2_33.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1760/CH2/EX2.33/EX2_33.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 '1760/CH2/EX2.33/EX2_33.sce')
-rwxr-xr-x1760/CH2/EX2.33/EX2_33.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1760/CH2/EX2.33/EX2_33.sce b/1760/CH2/EX2.33/EX2_33.sce
new file mode 100755
index 000000000..3469333f4
--- /dev/null
+++ b/1760/CH2/EX2.33/EX2_33.sce
@@ -0,0 +1,17 @@
+ //EXAMPLE 2-33 PG NO-84-85
+V=230+%i*0; //Voltage
+F=50; //Frequency
+C=10^-4; //Capacitor
+R=10; //Resistance
+XC=1/[2*%pi*F*C]; //Capacitor
+disp('i) CAPACITOR (XC) is in polar form = '+string (XC) +' ohm ');
+Z=R-%i*XC; //Impedance
+disp('ii) IMPEDANCE (Z) is in polar form = '+string (Z) +' ohm ');
+Y=1/Z; //Admittance
+disp('iii) ADMITTANCE (Y) is in polar form = '+string (Y) +' siemens ');
+I=V/Z; //current
+disp('iv) CURRENT (I) is in polar form = '+string (I) +' A ');
+Vr=I*R; // Voltage
+disp('v) VOLTAGE (Vr) is in polar form = '+string (Vr) +' V ');
+VC=%i*XC*I //Voltage
+disp('vi) VOLTAGE (VL) is in polar form = '+string (VC) +' V ');