diff options
Diffstat (limited to '2102/CH4/EX4.18/exa_4_18.sce')
-rwxr-xr-x | 2102/CH4/EX4.18/exa_4_18.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2102/CH4/EX4.18/exa_4_18.sce b/2102/CH4/EX4.18/exa_4_18.sce new file mode 100755 index 000000000..d4f62c0a8 --- /dev/null +++ b/2102/CH4/EX4.18/exa_4_18.sce @@ -0,0 +1,13 @@ +// Exa 4.18
+clc;
+clear;
+close;
+// Given data
+V_Dmin= 1;// in V
+V_Dmax= 2;// in V
+Vs= 20;// in V
+R1= 470;// in Ω
+Imax= (Vs-V_Dmin)/R1;// in A
+Imin= (Vs-V_Dmax)/R1;// in A
+disp(Imax*10^3,"The maximum value of current in mA");
+disp(Imin*10^3,"The maximum value of current in mA");
|