From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3775/CH4/EX4.3/Ex4_3.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 3775/CH4/EX4.3/Ex4_3.sce (limited to '3775/CH4/EX4.3/Ex4_3.sce') diff --git a/3775/CH4/EX4.3/Ex4_3.sce b/3775/CH4/EX4.3/Ex4_3.sce new file mode 100644 index 000000000..b0ea49598 --- /dev/null +++ b/3775/CH4/EX4.3/Ex4_3.sce @@ -0,0 +1,20 @@ +//Ex 4.3 page 159 + +clc; +clear; +close; + + +R=10;// ohm +Vs=230;// V +f=50;// Hz +alpha = 90;// degree + +Vor=Vs*sqrt(1/%pi*(%pi-alpha*%pi/180+sin(2*alpha*%pi/180)/2));// V +Ior=Vor/R;// A +P=Ior**2*R;// W +pf=Vor/Vs;// power factor +printf('\n rms load voltage = %.2f V', Vor) +printf('\n rms load current = %.2f A', Ior) +printf('\n power input = %.2f W', P) +printf('\n load power factor = %.1f ',pf) -- cgit