summaryrefslogtreecommitdiff
path: root/3769/CH8/EX8.7/Ex8_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH8/EX8.7/Ex8_7.sce')
-rw-r--r--3769/CH8/EX8.7/Ex8_7.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3769/CH8/EX8.7/Ex8_7.sce b/3769/CH8/EX8.7/Ex8_7.sce
new file mode 100644
index 000000000..604709278
--- /dev/null
+++ b/3769/CH8/EX8.7/Ex8_7.sce
@@ -0,0 +1,14 @@
+clear
+//Given
+I=5 //A
+l=0.01 //m
+a=45 //degree
+r=2 //m
+u=10**-7
+
+//Calculation
+//
+B=(u*I*l*sin(a)*180/3.14)/r**2
+
+//Result
+printf("\n Magnetic field is %0.1f *10**-10 T",B*10**8)