diff options
Diffstat (limited to '1445/CH4/EX4.6/ch4_ex_6.sce')
-rw-r--r-- | 1445/CH4/EX4.6/ch4_ex_6.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1445/CH4/EX4.6/ch4_ex_6.sce b/1445/CH4/EX4.6/ch4_ex_6.sce new file mode 100644 index 000000000..8906b37ec --- /dev/null +++ b/1445/CH4/EX4.6/ch4_ex_6.sce @@ -0,0 +1,17 @@ +//CHAPTER 4- MEASURING INSTRUMENTS +//Example 6 + +disp("CHAPTER 4"); +disp("EXAMPLE 6"); + +//VARIABLE INITIALIZATION +I_m=20/1000; //from mA to A +v_m=50/1000; //from mV to V +v=500; //in Volts + +//SOLUTION +r_m=v_m/I_m; +r_s=(v/I_m)-r_m; +disp(sprintf("The series resistance to measure 500 V on full scale is %f Ω",r_s)); + +//END |