summaryrefslogtreecommitdiff
path: root/3673/CH10/EX10.6/Ex10_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3673/CH10/EX10.6/Ex10_6.sce')
-rw-r--r--3673/CH10/EX10.6/Ex10_6.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3673/CH10/EX10.6/Ex10_6.sce b/3673/CH10/EX10.6/Ex10_6.sce
new file mode 100644
index 000000000..2fc6f533f
--- /dev/null
+++ b/3673/CH10/EX10.6/Ex10_6.sce
@@ -0,0 +1,22 @@
+//Example 10_6 page no:446
+clc;
+//given
+output_imp=1936;
+load_imp=4;
+I1=20*10^-3;
+//calculating the turn ratio
+den=output_imp/load_imp;
+den=sqrt(den);
+num=1;
+function [x] = frac(n, d)
+ x = (n*%s)/(d*%s);
+endfunction;
+x=frac(num,den);
+disp(x,"the desired ratio for an ideal transformer to connect the two systems is");
+//calculating the rms current
+a=1/22;
+rms_current=I1/a;
+disp(rms_current,"the RMS value of the current in the secondary winding is (in A)");
+//calculatin the delivered power
+del_pow=(rms_current^2)*load_imp;
+disp(del_pow,"the power delivered to the load is (in W)");