diff options
Diffstat (limited to '1826/CH1')
-rwxr-xr-x | 1826/CH1/EX1.1/ex1_1.sce | 10 | ||||
-rwxr-xr-x | 1826/CH1/EX1.2/ex1_2.sce | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/1826/CH1/EX1.1/ex1_1.sce b/1826/CH1/EX1.1/ex1_1.sce new file mode 100755 index 000000000..3f5a00142 --- /dev/null +++ b/1826/CH1/EX1.1/ex1_1.sce @@ -0,0 +1,10 @@ +// Example 1.1, page no-8
+clear
+clc
+
+r=0.45*10^-3 //m
+L=0.3 //m
+rho=17*10^-9 //ohm-m
+//Calculations
+R=rho*(L/(%pi*r^2))
+printf("The Resistance of the wire is %.3f ohm",R)
diff --git a/1826/CH1/EX1.2/ex1_2.sce b/1826/CH1/EX1.2/ex1_2.sce new file mode 100755 index 000000000..d9f04458e --- /dev/null +++ b/1826/CH1/EX1.2/ex1_2.sce @@ -0,0 +1,10 @@ +// Example 1.2, page no-8
+clear
+clc
+
+r=1.25*10^-3 //m
+L=3 //m
+F=4900 //Newton
+e=2.05*10^11 //Pa
+s=F/(%pi*r^2*e)
+printf("strain = %.3f\nTherefore, extension = %.3f",s,s*3)
|