diff options
Diffstat (limited to '620/CH5/EX5.8/example5_8.sce')
-rw-r--r-- | 620/CH5/EX5.8/example5_8.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/620/CH5/EX5.8/example5_8.sce b/620/CH5/EX5.8/example5_8.sce new file mode 100644 index 000000000..5c3db5e9f --- /dev/null +++ b/620/CH5/EX5.8/example5_8.sce @@ -0,0 +1,14 @@ +r=5*10^3;
+v=6;
+disp("Part a");
+disp("the minimum voltage is 0 V and the maximum output voltage is 6 V");
+disp("Part b");
+v1=0.25*v;
+v2=0.75*v;
+disp("the two possible output voltages (in V) are"); disp(v1); disp(v2);
+disp("Part c");
+i=v/r;
+disp("the current (in mA) throught the potentiometer in this position is"); disp(i*10^3);
+disp("Part d");
+p=r*i^2;
+disp("he potentiometer power rating (in mW) is"); disp(p*10^3);
\ No newline at end of file |