diff options
Diffstat (limited to '3648/CH17/EX17.2/Ex17_2.sce')
-rw-r--r-- | 3648/CH17/EX17.2/Ex17_2.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/3648/CH17/EX17.2/Ex17_2.sce b/3648/CH17/EX17.2/Ex17_2.sce new file mode 100644 index 000000000..0804d4c31 --- /dev/null +++ b/3648/CH17/EX17.2/Ex17_2.sce @@ -0,0 +1,8 @@ +//Example 17_2
+clc();
+clear;
+//To find the resistance in bulb
+v=1.55 //Units in V
+i=0.08 //Units in A
+r=v/i //Units in Ohms
+printf("The resistance in bulb is=%.1f Ohms",r)
|