diff options
Diffstat (limited to '608/CH1/EX1.06/1_06.sce')
-rwxr-xr-x | 608/CH1/EX1.06/1_06.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/608/CH1/EX1.06/1_06.sce b/608/CH1/EX1.06/1_06.sce new file mode 100755 index 000000000..1b3d1ae5b --- /dev/null +++ b/608/CH1/EX1.06/1_06.sce @@ -0,0 +1,15 @@ +//Problem 1.06: Find the conductance of a conductor of resistance (a) 10 ohm , (b) 5 kohm and (c) 100 ohm.
+
+//initializing the variables:
+R1 = 10; // in ohm
+R2 = 5000; // in ohm
+R3 = 0.1; // in ohm
+//calculation:
+G1 = 1/R1
+G2 = 1/R2
+G3 = 1/R3
+
+printf("\n\nResult\n\n")
+printf("\nconductance(G1): %.1f seimen(S)n",G1)
+printf("\nconductance(G2): %.4f seimen(S)n",G2)
+printf("\nconductance(G3): %.0f seimen(S)n",G3)
\ No newline at end of file |