diff options
Diffstat (limited to '3836/CH2/EX2.5/Ex2_5.sce')
-rw-r--r-- | 3836/CH2/EX2.5/Ex2_5.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3836/CH2/EX2.5/Ex2_5.sce b/3836/CH2/EX2.5/Ex2_5.sce new file mode 100644 index 000000000..1720908dc --- /dev/null +++ b/3836/CH2/EX2.5/Ex2_5.sce @@ -0,0 +1,14 @@ +clear +//Initialisation +r1=10 //resistance in ohm +r2=20 //resistance in ohm +r3=15 //resistance in ohm +r4=25 //resistance in ohm + + +//Calculation +r=r1+r2+r3+r4 //series resistance in ohm + +//Result +printf("\n R = %d ohm",r) + |