diff options
Diffstat (limited to '1730/CH2/EX2.22/Exa2_22.sce')
-rwxr-xr-x | 1730/CH2/EX2.22/Exa2_22.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1730/CH2/EX2.22/Exa2_22.sce b/1730/CH2/EX2.22/Exa2_22.sce new file mode 100755 index 000000000..c6316d9c4 --- /dev/null +++ b/1730/CH2/EX2.22/Exa2_22.sce @@ -0,0 +1,15 @@ +//Exa2.22
+clc;
+clear;
+close;
+//given data
+R=4;//in ohm
+d=0.0274;//in cm
+d=0.000274;//in meter
+rho=10.3;//in miu ohm-cm
+rho=10.3*10^-8;//in ohm-m
+a=(%pi*d^2)/4;
+
+//Formula R=rho*l/a
+l=R*a/rho;
+disp("Lenght of wire is : "+string(l)+" meters")
\ No newline at end of file |