summaryrefslogtreecommitdiff
path: root/1026/CH10/EX10.5/Example10_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1026/CH10/EX10.5/Example10_5.sce
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 '1026/CH10/EX10.5/Example10_5.sce')
-rwxr-xr-x1026/CH10/EX10.5/Example10_5.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/1026/CH10/EX10.5/Example10_5.sce b/1026/CH10/EX10.5/Example10_5.sce
new file mode 100755
index 000000000..840591a88
--- /dev/null
+++ b/1026/CH10/EX10.5/Example10_5.sce
@@ -0,0 +1,23 @@
+//chapter10,Example10_5,pg 272
+
+m=1.67*10^-27
+
+q=1.6*10^-19
+
+B=0.5
+
+n=((B*q)/(2*%pi*m))
+
+R=1
+
+E=((B^2)*(q^2)*(R^2))/(2*m)
+
+E=E/(1.6*10^-19)
+
+printf("frequency of oscillation voltage\n")
+
+printf("n=%.2f Hz",n)
+
+printf("\nmaximum energy of proton\n")
+
+printf("E=%.2f ev",E) \ No newline at end of file