diff options
Diffstat (limited to '1445/CH4/EX4.2/Ex4_2.sce')
-rw-r--r-- | 1445/CH4/EX4.2/Ex4_2.sce | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/1445/CH4/EX4.2/Ex4_2.sce b/1445/CH4/EX4.2/Ex4_2.sce index 701df6ff4..2a1b004b4 100644 --- a/1445/CH4/EX4.2/Ex4_2.sce +++ b/1445/CH4/EX4.2/Ex4_2.sce @@ -1,6 +1,7 @@ //CHAPTER 4- MEASURING INSTRUMENTS //Example 2 +clc; disp("CHAPTER 4"); disp("EXAMPLE 2"); @@ -13,7 +14,7 @@ emf=2; //emf of cell in Volts //SOLUTION I=emf/r; //current in the circuit I_g=(S*I)/(S+G); -disp(sprintf("The current through the galvanometer is %.3f A",I_g)); +disp(sprintf("The current through the galvanometer is %f A",I_g)); //END |