summaryrefslogtreecommitdiff
path: root/3835/CH4/EX4.20/Ex4_20.sce
diff options
context:
space:
mode:
Diffstat (limited to '3835/CH4/EX4.20/Ex4_20.sce')
-rw-r--r--3835/CH4/EX4.20/Ex4_20.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3835/CH4/EX4.20/Ex4_20.sce b/3835/CH4/EX4.20/Ex4_20.sce
new file mode 100644
index 000000000..206174e7b
--- /dev/null
+++ b/3835/CH4/EX4.20/Ex4_20.sce
@@ -0,0 +1,12 @@
+clear
+//
+r=100
+c=50*10**-6
+f=50
+v=230
+//case a
+xc=-1/(314*c) //314 is omega
+ir=v/r //with angle 0
+ic=230/(xc) //with angle of 90 deg
+i=((ir**2)+(ic**2))**0.5
+printf("\n current with a lead of 57.5 is obtained as= %0.1f A",i)