summaryrefslogtreecommitdiff
path: root/3769/CH13/EX13.19/Ex13_19.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3769/CH13/EX13.19/Ex13_19.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3769/CH13/EX13.19/Ex13_19.sce')
-rw-r--r--3769/CH13/EX13.19/Ex13_19.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3769/CH13/EX13.19/Ex13_19.sce b/3769/CH13/EX13.19/Ex13_19.sce
new file mode 100644
index 000000000..cab83d251
--- /dev/null
+++ b/3769/CH13/EX13.19/Ex13_19.sce
@@ -0,0 +1,24 @@
+clear
+//Given
+f=50
+L=31.8*10**-3 //H
+R=7.0 //ohm
+Ev=230 //V
+
+//Calculation
+//
+Xl=2*%pi*f*L
+Z=sqrt(R**2+Xl**2)
+Iv=Ev/Z
+T=Xl/R
+a=atan(T)*180/3.14
+a1=cos(a)*3.14/180.0
+P=Iv**2*R
+t=55*%pi/(180.0*3.14)
+
+//Result
+printf("\n (i) Circuit current is %0.2f A",Iv)
+printf("\n (ii) Phase angle is %0.0f lag",a)
+printf("\n (iii) Power factor is %0.3f lag",a1*10**3)
+printf("\n (iv) Power consumed is %0.0f W",P)
+printf("\n Time lag between voltage maximum and current maximum is %0.2f *10**-3 S",t*10**1)