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.8/example7_8.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.8/example7_8.sce')
-rw-r--r-- | 620/CH7/EX7.8/example7_8.sce | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/620/CH7/EX7.8/example7_8.sce b/620/CH7/EX7.8/example7_8.sce new file mode 100644 index 000000000..3b2346b78 --- /dev/null +++ b/620/CH7/EX7.8/example7_8.sce @@ -0,0 +1,31 @@ +v1=9;
+v2=12;
+i=0.1;
+disp("Part a");
+i1=0.03;
+is1=i1+i;
+v=v2-v1;
+rs1=v/is1;
+disp("the value of resistance (in Ω) of the series-dropping resistor is"); disp(rs1);
+ps1=v*is1;
+disp("Power rating (in W) of the series-dropping resistor is"); disp(ps1);
+rb1=v1/i1;
+disp("the value of resistance (in Ω) of the bleeder resistor is"); disp(rb1);
+pb1=v1*i1;
+disp("Power rating (in W) of the bleeder resistor is"); disp(pb1);
+v01=v2*rb1/(rb1+rs1);
+disp("the no load voltage (in V) is"); disp(v01);
+disp("Part b");
+i2=0.1
+is2=i2+i;
+v=v2-v1;
+rs2=v/is2;
+disp("the value of resistance (in Ω) of the series-dropping resistor is"); disp(rs2);
+ps2=v*is2;
+disp("Power rating (in W) of the series-dropping resistor is"); disp(ps2);
+rb2=v1/i2;
+disp("the value of resistance (in Ω) of the bleeder resistor is"); disp(rb2);
+pb2=v1*i2;
+disp("Power rating (in W) of the bleeder resistor is"); disp(pb2);
+v02=v2*rb2/(rb2+rs2);
+disp("the no load voltage (in V) is"); disp(v02);
\ No newline at end of file |