diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1301/CH14 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1301/CH14')
-rwxr-xr-x | 1301/CH14/EX14.10/ex14_10.sce | 7 | ||||
-rwxr-xr-x | 1301/CH14/EX14.11/ex14_11.sce | 7 | ||||
-rwxr-xr-x | 1301/CH14/EX14.12/ex14_12.sce | 7 | ||||
-rwxr-xr-x | 1301/CH14/EX14.13/ex14_13.sce | 6 | ||||
-rwxr-xr-x | 1301/CH14/EX14.14/ex14_14.sce | 8 | ||||
-rwxr-xr-x | 1301/CH14/EX14.8/ex14_8.sce | 6 |
6 files changed, 41 insertions, 0 deletions
diff --git a/1301/CH14/EX14.10/ex14_10.sce b/1301/CH14/EX14.10/ex14_10.sce new file mode 100755 index 000000000..81569e23c --- /dev/null +++ b/1301/CH14/EX14.10/ex14_10.sce @@ -0,0 +1,7 @@ +clc;
+K=2*10^-7; //constant in N/A square
+I=8; //current in Ampere
+s=5*10^-2; //distance in m
+B=(K*I)/s; //calculating magnitude of field
+disp(B,"Magnitude of field in Tesla = "); //displaying result
+disp(2*B,"Total field in Tesla = "); //displaying result
\ No newline at end of file diff --git a/1301/CH14/EX14.11/ex14_11.sce b/1301/CH14/EX14.11/ex14_11.sce new file mode 100755 index 000000000..e76f88744 --- /dev/null +++ b/1301/CH14/EX14.11/ex14_11.sce @@ -0,0 +1,7 @@ +clc;
+K=2*10^-7; //constant in N/A square
+N=100; //number of turns
+I=4; //current in Ampere
+r=5*10^-2; //radius in m
+B=(%pi*K*I*N)/s; //calculating magnitude of field
+disp(B,"Magnitude of field in Tesla = "); //displaying result
diff --git a/1301/CH14/EX14.12/ex14_12.sce b/1301/CH14/EX14.12/ex14_12.sce new file mode 100755 index 000000000..5cf209ef6 --- /dev/null +++ b/1301/CH14/EX14.12/ex14_12.sce @@ -0,0 +1,7 @@ +clc;
+K=2*10^-7; //constant in N/A square
+N=1000; //number of turns
+B=2.5*10^-5; //field in Tesla
+l=0.2; //length in m
+I=(B*l)/(2*%pi*K*N); //calculating magnitude of field
+disp(I,"Current in Ampere = "); //displaying result
diff --git a/1301/CH14/EX14.13/ex14_13.sce b/1301/CH14/EX14.13/ex14_13.sce new file mode 100755 index 000000000..013cfbec1 --- /dev/null +++ b/1301/CH14/EX14.13/ex14_13.sce @@ -0,0 +1,6 @@ +clc;
+I=5; //current in Ampere
+L=0.01; //length in m
+B=0.8; //magnitude of field in Tesla
+F=B*I*L; //calculating force
+disp(F,"Force in Newton = "); //displaying result
\ No newline at end of file diff --git a/1301/CH14/EX14.14/ex14_14.sce b/1301/CH14/EX14.14/ex14_14.sce new file mode 100755 index 000000000..7da0267c5 --- /dev/null +++ b/1301/CH14/EX14.14/ex14_14.sce @@ -0,0 +1,8 @@ +clc;
+P=2000; //power in Watt
+V=120; //potential diff in volt
+I=P/V; //current in Ampere
+s=2*10^-3; //distance in m
+K=2*10^-7; //constant in N/A square
+F=(I*I*K)/s; //calculating force per metre
+disp(F,"Force in Newton per metre in opposite direction = "); //displaying result
\ No newline at end of file diff --git a/1301/CH14/EX14.8/ex14_8.sce b/1301/CH14/EX14.8/ex14_8.sce new file mode 100755 index 000000000..143d5f4de --- /dev/null +++ b/1301/CH14/EX14.8/ex14_8.sce @@ -0,0 +1,6 @@ +clc;
+K=2*10^-7; //constant in N/A square
+I=100; //current in Ampere
+s=5; //distance in m
+B=(K*I)/s; //calculating magnitude of field
+disp(B,"Magnitude of field in Tesla = "); //displaying result
\ No newline at end of file |