diff options
Diffstat (limited to '608/CH5/EX5.14/5_14.sce')
-rwxr-xr-x | 608/CH5/EX5.14/5_14.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/608/CH5/EX5.14/5_14.sce b/608/CH5/EX5.14/5_14.sce new file mode 100755 index 000000000..f6329d22e --- /dev/null +++ b/608/CH5/EX5.14/5_14.sce @@ -0,0 +1,11 @@ +//Problem 5.14: If three identical lamps are connected in parallel and the combined resistance is 150 ohms, find the resistance of one lamp.
+
+//initializing the variables:
+Rt = 150; // in ohms
+n = 3; // no. of identical lamp
+
+//calculation:
+R = Rt*3 // (1/Rt)=(1/R)+(1/R)+(1/R)
+
+printf("\n\nResult\n\n")
+printf("\n Resistance %.0f Ohms\n",R)
\ No newline at end of file |