diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /1301/CH14/EX14.11/ex14_11.sce | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '1301/CH14/EX14.11/ex14_11.sce')
-rwxr-xr-x | 1301/CH14/EX14.11/ex14_11.sce | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/1301/CH14/EX14.11/ex14_11.sce b/1301/CH14/EX14.11/ex14_11.sce index e76f88744..364eac2b8 100755 --- a/1301/CH14/EX14.11/ex14_11.sce +++ b/1301/CH14/EX14.11/ex14_11.sce @@ -1,7 +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
+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)/r; //calculating magnitude of field +disp(B,"Magnitude of field in Tesla = "); //displaying result
\ No newline at end of file |