summaryrefslogtreecommitdiff
path: root/3835/CH4/EX4.12/Ex4_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3835/CH4/EX4.12/Ex4_12.sce')
-rw-r--r--3835/CH4/EX4.12/Ex4_12.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3835/CH4/EX4.12/Ex4_12.sce b/3835/CH4/EX4.12/Ex4_12.sce
new file mode 100644
index 000000000..846aca9b7
--- /dev/null
+++ b/3835/CH4/EX4.12/Ex4_12.sce
@@ -0,0 +1,16 @@
+clear
+//
+v=230
+f=50
+L=50*10**-3
+r=10
+//case a
+xl=2*3.14*f*L
+z=complex(r,xl)
+//the value of z in polar form is 18.62 ohm
+z=18.62
+i=v/(z)
+printf("\n i= %0.1f A",i)
+//case b
+//phy=taninverse(xl/r)=57.52 lag
+printf("\n phase angle of current=57.52 lag")