summaryrefslogtreecommitdiff
path: root/3845/CH33/EX33.2/Ex33_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH33/EX33.2/Ex33_2.sce')
-rw-r--r--3845/CH33/EX33.2/Ex33_2.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3845/CH33/EX33.2/Ex33_2.sce b/3845/CH33/EX33.2/Ex33_2.sce
new file mode 100644
index 000000000..55887eda6
--- /dev/null
+++ b/3845/CH33/EX33.2/Ex33_2.sce
@@ -0,0 +1,8 @@
+//Example 33.2
+//V_gap=Sum of gap voltages/Number of gaps
+//Sum of gap voltages=800MV, since to produce a 800MeV proton beam, the proton gains 1eV per volt across each gap it passes through
+//Number of gaps=2000
+V_gap=800*10^6/2000;
+printf('The average voltage to be applied between the tubes = %d kV',V_gap/1000)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest