diff options
Diffstat (limited to '620/CH3/EX3.15/example3_15.sce')
-rw-r--r-- | 620/CH3/EX3.15/example3_15.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/620/CH3/EX3.15/example3_15.sce b/620/CH3/EX3.15/example3_15.sce new file mode 100644 index 000000000..7f1c33cfa --- /dev/null +++ b/620/CH3/EX3.15/example3_15.sce @@ -0,0 +1,10 @@ +disp("Part a");
+r=100;
+p=2;
+i=sqrt(p/r);
+disp("the maximum current (in mA) that the resistor can handle is"); disp(i*10^3);
+disp("Part b");
+p1=50*10^(-3);
+v=40;
+r1=(v^2)/p1;
+disp("the resistance (in kΩ) is"); disp(r1*10^(-3));
\ No newline at end of file |