diff options
Diffstat (limited to '1529/CH1/EX1.6/1_06.sce')
-rwxr-xr-x | 1529/CH1/EX1.6/1_06.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1529/CH1/EX1.6/1_06.sce b/1529/CH1/EX1.6/1_06.sce new file mode 100755 index 000000000..ec619a66b --- /dev/null +++ b/1529/CH1/EX1.6/1_06.sce @@ -0,0 +1,11 @@ +//Chapter 1, Problem 6
+clc;
+R1=10; //Resistance of R1 in ohms
+R2=5; //Resistance of R2 in kilohms
+R3=100*10^-3; //Resistance of R3 in ohms
+G1=1/R1; //calculating conductance
+G2=1/R2;
+G3=1/R3;
+printf("Conductance of a conductor of resistance 10 ohms = %f S \n\n\n",G1);
+printf("Conductance of a conductor of resistance 5 k.ohms = %f mS \n\n\n",G2);
+printf("Conductance of a conductor of resistance 100 miliohms = %f S \n\n\n",G3);
|