summaryrefslogtreecommitdiff
path: root/182/CH1/EX1.1/example1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '182/CH1/EX1.1/example1_1.sce')
-rwxr-xr-x182/CH1/EX1.1/example1_1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/182/CH1/EX1.1/example1_1.sce b/182/CH1/EX1.1/example1_1.sce
new file mode 100755
index 000000000..a85c92b90
--- /dev/null
+++ b/182/CH1/EX1.1/example1_1.sce
@@ -0,0 +1,11 @@
+
+// Example 1-1 in page 8
+// Given data
+clc;
+phi=500*10^-8;// one maxwell=10^-8 Wb, phi=total flux
+Area=(2.54*10^-2)^2;// area in m^2, cross section is one inch and 1inch=2.54cm
+// Calculation
+B=phi/Area; //flux density(B) in tesla
+printf("total flux density=%.2f mT",B*1000);
+// Result
+// the toatal flux density is 7.75 mT \ No newline at end of file