summaryrefslogtreecommitdiff
path: root/3673/CH8/EX8.a.6/Example_a_8_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3673/CH8/EX8.a.6/Example_a_8_6.sce')
-rw-r--r--3673/CH8/EX8.a.6/Example_a_8_6.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3673/CH8/EX8.a.6/Example_a_8_6.sce b/3673/CH8/EX8.a.6/Example_a_8_6.sce
new file mode 100644
index 000000000..37ff46264
--- /dev/null
+++ b/3673/CH8/EX8.a.6/Example_a_8_6.sce
@@ -0,0 +1,15 @@
+//Example_a_8_6 page no:328
+clc;
+V=100;
+I=0.7;
+Vc=200;
+omega=2*%pi*200;
+C=I/(omega*200);
+C=C*10^6;//converting to microFarad
+Xc=200/0.7;
+Xl=Xc;
+L=Xl/(2*%pi*200);
+R=(V/I)-50;
+disp(C,"the capacitance is (in microFarad)");
+disp(L,"the inductanc is (in H)");
+disp(R,"the resistance is (in ohm)");