summaryrefslogtreecommitdiff
path: root/1826/CH20
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1826/CH20
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1826/CH20')
-rwxr-xr-x1826/CH20/EX20.2/ex20_2.sce8
-rwxr-xr-x1826/CH20/EX20.3/ex20_3.sce11
-rwxr-xr-x1826/CH20/EX20.4/ex20_4.sce9
3 files changed, 28 insertions, 0 deletions
diff --git a/1826/CH20/EX20.2/ex20_2.sce b/1826/CH20/EX20.2/ex20_2.sce
new file mode 100755
index 000000000..78d5ed47f
--- /dev/null
+++ b/1826/CH20/EX20.2/ex20_2.sce
@@ -0,0 +1,8 @@
+// Example 20.1, page no-568
+clear
+clc
+h0=0.0306
+t1=2.0
+t2=3.7
+he=h0*(1-((t1^2)/t2^2))
+printf("The critical field at %d K is %.5f T",t1,he)
diff --git a/1826/CH20/EX20.3/ex20_3.sce b/1826/CH20/EX20.3/ex20_3.sce
new file mode 100755
index 000000000..60737d936
--- /dev/null
+++ b/1826/CH20/EX20.3/ex20_3.sce
@@ -0,0 +1,11 @@
+// Example 20.3, page no-569
+clear
+clc
+
+t1=4.2
+t2=7.18
+h0=6.5*10^4//A/m
+he=h0*(1-((t1^2)/t2^2))
+r=0.5*10^-3
+I=2*%pi*he*r
+printf("The critical current through a wire of lead is %.2f A",I)
diff --git a/1826/CH20/EX20.4/ex20_4.sce b/1826/CH20/EX20.4/ex20_4.sce
new file mode 100755
index 000000000..d35f2212f
--- /dev/null
+++ b/1826/CH20/EX20.4/ex20_4.sce
@@ -0,0 +1,9 @@
+// Example 20.4, page no-570
+clear
+clc
+
+tc1=4.185
+m1=199.5
+m2=203.4
+tc2=tc1* sqrt(m1/m2)
+printf("The critical temperature for metal with isotopic mass of %.1f is %.3f K",m2,tc2)