summaryrefslogtreecommitdiff
path: root/1271/CH6/EX6.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1271/CH6/EX6.8
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1271/CH6/EX6.8')
-rwxr-xr-x1271/CH6/EX6.8/8.txt1
-rwxr-xr-x1271/CH6/EX6.8/example6_8.sce13
2 files changed, 14 insertions, 0 deletions
diff --git a/1271/CH6/EX6.8/8.txt b/1271/CH6/EX6.8/8.txt
new file mode 100755
index 000000000..3765cd3f0
--- /dev/null
+++ b/1271/CH6/EX6.8/8.txt
@@ -0,0 +1 @@
+ Area traced by the trajectory of helium ion = 0.104929 square meter \ No newline at end of file
diff --git a/1271/CH6/EX6.8/example6_8.sce b/1271/CH6/EX6.8/example6_8.sce
new file mode 100755
index 000000000..a30682580
--- /dev/null
+++ b/1271/CH6/EX6.8/example6_8.sce
@@ -0,0 +1,13 @@
+clc
+// Given that
+M = 6.68e-27 // mass of helium ion in kg
+E = 1.6e-16 // energy of helium ion in J
+B = 5e-2 // magnetic field in tesla
+e = 1.6e-19 // charge on helium ion in coulomb
+// Sample Problem 8 on page no. 6.23
+printf("\n # PROBLEM 8 # \n")
+v = sqrt((2 * E) / M)//calculation for velocity
+r = (M * v) / (e * B)//calculation for Larmour radius
+A = %pi * r^2//calculation for area traced by the trajectory of helium ion
+printf("Standard formula used \n E=1/2*m*v^2,\n Rl=m*v/(e*B),\n A=pi*r^2\n")
+printf("\n Area traced by the trajectory of helium ion = %f square meter",A)