summaryrefslogtreecommitdiff
path: root/3648/CH18/EX18.1/Ex18_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH18/EX18.1/Ex18_1.sce')
-rw-r--r--3648/CH18/EX18.1/Ex18_1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3648/CH18/EX18.1/Ex18_1.sce b/3648/CH18/EX18.1/Ex18_1.sce
new file mode 100644
index 000000000..0444e1ba8
--- /dev/null
+++ b/3648/CH18/EX18.1/Ex18_1.sce
@@ -0,0 +1,11 @@
+//Example 18_1
+clc();
+clear;
+//To find the force on the wire
+b=2*10^-4 //Units in T
+i=20 //Units in A
+l=0.3 //Units in meters
+theta=53 //Units in degrees
+thetaa=sin(theta*%pi/180) //Units in Radians
+f=b*i*l*thetaa //Units in N
+printf("The force on the wire is F=%.9f N",f)