summaryrefslogtreecommitdiff
path: root/1985/CH14/EX14.1/Chapter14_example1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1985/CH14/EX14.1/Chapter14_example1.sce')
-rwxr-xr-x1985/CH14/EX14.1/Chapter14_example1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1985/CH14/EX14.1/Chapter14_example1.sce b/1985/CH14/EX14.1/Chapter14_example1.sce
new file mode 100755
index 000000000..297188afa
--- /dev/null
+++ b/1985/CH14/EX14.1/Chapter14_example1.sce
@@ -0,0 +1,11 @@
+clc
+clear
+s=5.87*10^7//Electrical conductivity of Cu in ohm^-1.m^-1
+K=390//Thermal conductivity of Cu in W/m.K
+T=(20+273)//Temperature in K
+
+//Calculations
+L=(K/(s*T))/10^-8//Lorentz number in W.ohm/K^2
+
+//Calculations
+printf('Lorentz number is %3.3f*10^-8 W.ohm/K^2',L)