diff options
Diffstat (limited to '3769/CH27/EX27.2/Ex27_2.sce')
-rw-r--r-- | 3769/CH27/EX27.2/Ex27_2.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/3769/CH27/EX27.2/Ex27_2.sce b/3769/CH27/EX27.2/Ex27_2.sce new file mode 100644 index 000000000..9b6d10534 --- /dev/null +++ b/3769/CH27/EX27.2/Ex27_2.sce @@ -0,0 +1,13 @@ +clear +//Given +V=2 //V +R=10.0 //ohm +R1=20.0 + +//Calculation +I=V/R +I1=V/R1 + +//Result +printf("\n (i) Current drawn from battery is %0.3f A", I) +printf("\n (ii) Current drawn from point B is %0.3f A",I1) |