summaryrefslogtreecommitdiff
path: root/3830/CH5/EX5.5/Ex5_5.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3830/CH5/EX5.5/Ex5_5.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3830/CH5/EX5.5/Ex5_5.sce')
-rw-r--r--3830/CH5/EX5.5/Ex5_5.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/3830/CH5/EX5.5/Ex5_5.sce b/3830/CH5/EX5.5/Ex5_5.sce
new file mode 100644
index 000000000..309ea2dfb
--- /dev/null
+++ b/3830/CH5/EX5.5/Ex5_5.sce
@@ -0,0 +1,31 @@
+// Exa 5.5
+
+clc;
+clear;
+
+// Given
+
+S = 0.6*10; // sensitivity of oscillograph in V per cm
+A = 2; // Area of oscilloscope area in cm^2
+dx = 4; // x-axis deflection in cm
+dy = 3; // y-axis deflection in cm
+
+// solution
+
+printf(' Ref fig. 5.5(a and b) -If Ic leads Vc by 90 degree, C will be a lossless ideal capacitor, and it will have infinite resistance R. Therefore, Ic is leading Vc by <90 degree . Theta is loss of the capacitor \n ');
+printf(' Power factor = cos(theta) = 1 when theta = o degree) \n');
+
+pf = 1;
+
+Vcondenser = (1/sqrt(2)) * S * dx*200; // since one-two thousandth od C voltage is applied to the x-plates
+Icondenser = (1/sqrt(2)) * S * 1/100000 ; // since Y-plates are impressed with voltage 100000 times the magniture of condenser I.
+
+Pcondenser = Vcondenser * Icondenser;
+
+printf(' If p.f =1, the ellipse could have a major axis of %d cm and a minimum axis of %d cm \n',2*dx,2*dy);
+
+printf(' Total area = %.2f cm^2 \n',%pi/4 * 2*dx*2*dy);
+
+printf(' power loss of the capacitor = %.4f W \n',Pcondenser*A/(12/%pi));
+
+// The answer provided in the textbook is wrong