diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /620/CH7/EX7.6/example7_6.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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/CH7/EX7.6/example7_6.sce')
-rw-r--r-- | 620/CH7/EX7.6/example7_6.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/620/CH7/EX7.6/example7_6.sce b/620/CH7/EX7.6/example7_6.sce new file mode 100644 index 000000000..ffe80c236 --- /dev/null +++ b/620/CH7/EX7.6/example7_6.sce @@ -0,0 +1,23 @@ +V=220;
+i1=16;
+r2=20;
+l=200;
+disp("Part a");
+v=V-V/10;
+i2=v/r2;
+i=i1+i2;
+r=V/(10*i);
+r_line=r/2;
+r0=1.72*10^(-8);
+a=r0*l/r_line;
+d=sqrt(4*a/%pi);
+disp("the minimum diameter of the wire (in mm) is");disp(d*10^3);
+disp("Hence the minimum AWG size of wire is gauge number 8");
+disp("Part b");
+p=i^2*r;
+disp("Power dissipated (in W) to the line is"); disp(p);
+disp("Part c");
+pl=v*i;
+disp("Power delivered (in W) to the load is"); disp(pl);
+ps=p+pl;
+disp("Power supplied (in W) by source is"); disp(ps);
\ No newline at end of file |