summaryrefslogtreecommitdiff
path: root/620/CH4/EX4.1/example4_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH4/EX4.1/example4_1.sce')
-rw-r--r--620/CH4/EX4.1/example4_1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/620/CH4/EX4.1/example4_1.sce b/620/CH4/EX4.1/example4_1.sce
new file mode 100644
index 000000000..aad6ae195
--- /dev/null
+++ b/620/CH4/EX4.1/example4_1.sce
@@ -0,0 +1,11 @@
+disp("Part a");
+l=100;
+d=2*10^(-3);
+ro=1.72*10^(-8);
+a=%pi*(d^2)/4;
+r=ro*l/a;
+disp("the resistance (in Ω) of copper wire is"); disp(r);
+disp("Part b");
+ro1=2.63*10^(-8);
+r1=r*ro1/ro;
+disp("the resistance (in Ω) of aluminium wire is"); disp(r1); \ No newline at end of file