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 /38/CH1/EX1.8 | |
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 '38/CH1/EX1.8')
-rwxr-xr-x | 38/CH1/EX1.8/8.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/38/CH1/EX1.8/8.sce b/38/CH1/EX1.8/8.sce new file mode 100755 index 000000000..30f05f437 --- /dev/null +++ b/38/CH1/EX1.8/8.sce @@ -0,0 +1,15 @@ +// Caption: Finding minimum magnet volume
+clear;
+close;
+clc;
+
+function [A_m]=area(B_g,B_m)
+ A_m=2*B_g/B_m;
+endfunction
+a=area(0.8,1.0);//from fig
+L_m=-0.2*0.8/(4*%pi*10^-7*-40*10^3);
+
+volume=a*L_m;//minimum magnet volume
+disp(volume,'minimum magnet volume in cm cube');
+
+
|