diff options
Diffstat (limited to '1628/CH2/EX2.15/Ex2_15.sce')
-rwxr-xr-x | 1628/CH2/EX2.15/Ex2_15.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1628/CH2/EX2.15/Ex2_15.sce b/1628/CH2/EX2.15/Ex2_15.sce new file mode 100755 index 000000000..ed73281a0 --- /dev/null +++ b/1628/CH2/EX2.15/Ex2_15.sce @@ -0,0 +1,17 @@ + + // Example 2.15 + + // To find the Value of Resister + // We Sghould know About Colour Code + +Y=4; // Yelow colour +V=7; // Violet colour +O=10^3; // Orenge colour +r=(10*Y+V)*O; +R=r*(5/100); +disp(' The value of Resistance is = '+string(R)+' ohm'); + + + + + // p 30 2.15 |