summaryrefslogtreecommitdiff
path: root/3835/CH4/EX4.16/Ex4_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '3835/CH4/EX4.16/Ex4_16.sce')
-rw-r--r--3835/CH4/EX4.16/Ex4_16.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3835/CH4/EX4.16/Ex4_16.sce b/3835/CH4/EX4.16/Ex4_16.sce
new file mode 100644
index 000000000..de94ea6a1
--- /dev/null
+++ b/3835/CH4/EX4.16/Ex4_16.sce
@@ -0,0 +1,19 @@
+clear
+//
+v=230
+f=50
+//voltage vr across r is in phase with the current i while voltage vc across c lage i by 90
+//from phasor diagram v**2=vr**2+vc**2
+vr=100
+vc=((v**2)-(vr**2))**0.5
+printf("\n vc= %0.1f v",vc)
+p=500 //power
+i=p/vr
+c=i/(2*3.14*f*vc)
+printf("\n c= %e F",c)
+//case b
+v=(2**0.5)*vc
+printf("\n maximum voltage across c= %0.1f V",v)
+//case c
+//phase angle=cosinverse(vr/v)=cosinverse(0.4348)=64.2
+printf("\n phase angle=64.2")