summaryrefslogtreecommitdiff
path: root/620/CH26/EX26.10
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /620/CH26/EX26.10
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 '620/CH26/EX26.10')
-rw-r--r--620/CH26/EX26.10/example26_10.sce31
-rw-r--r--620/CH26/EX26.10/example26_10.txtbin0 -> 1038 bytes
2 files changed, 31 insertions, 0 deletions
diff --git a/620/CH26/EX26.10/example26_10.sce b/620/CH26/EX26.10/example26_10.sce
new file mode 100644
index 000000000..6bc679e09
--- /dev/null
+++ b/620/CH26/EX26.10/example26_10.sce
@@ -0,0 +1,31 @@
+v=12;
+f=60;
+i=0.05;
+p=0.1;
+disp("Part a");
+v1=24;
+z=v/i;
+rl=p/i^2;
+x_l=sqrt(z^2-rl^2);
+z1=v1/i;
+r=sqrt(z1^2-x_l^2)-rl;
+pr=i^2*r;
+disp("the series resistor has a value (in Ω) of"); disp(r);
+disp("power dissipation (in W) is");disp(pr);
+disp("Part b");
+x_c=sqrt(z1^2-rl^2)+x_l;
+c=1/(2*%pi*f*x_c);
+disp("the size of series cpacitor (in μF) is");disp(c*10^6);
+disp("Part c");
+v2=120;
+z2=v2/i;
+x_c2=sqrt(z2^2-rl^2)+x_l;
+c2=1/(2*%pi*f*x_c2);
+disp("the size of the series capacitor (in μF) is"); disp(c2*10^6);
+vc=i*x_c2;
+disp("voltage (in V) across the capacitor is"); disp(vc);
+disp("Part d");
+r2=sqrt(z2^2-x_l^2)-rl;
+disp("the size of the series resistor (in Ω) is"); disp(r2);
+p2=i^2*r2;
+disp("power dissipation (in W) is"); disp(p2); \ No newline at end of file
diff --git a/620/CH26/EX26.10/example26_10.txt b/620/CH26/EX26.10/example26_10.txt
new file mode 100644
index 000000000..190923ec0
--- /dev/null
+++ b/620/CH26/EX26.10/example26_10.txt
Binary files differ