Message Boards Message Boards

0
|
4388 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

Bethe Bloch Formula

Posted 11 years ago
Hello, I'd like to plot the Bethe-Bloch Formula for energy loss of particle rays going through mass, but mathematica keeps telling me my variables are protected.
I hope you can help me.
 plot [-dE/dx = 2*C*R*(Z/A)*(z^2/B^2)*(ln (2*m*G^2*v^2*W/I^2))] {E, 0,
   600}
 C = 0.1535;
 R = 2.7;
 Z = 13;
 A = 26.9815*1.6605*10^-24;
 z = 1.602*10^-19;
 B = 0.3523;
 m = 0.511;
G = 1.258673;
v = 1.1056*10^8;
W = 1.98*10^-3;
I = 1.66*10^-6;
Posted 11 years ago
It is best to not use variable names that begin with upper case, since Mathematica uses upper case to begin reserved symbols. For example, in your list, "I" is the sqrt of -1,  and "E" is the natural log base  Also, Plot must begin upper case, and the variables must be defined before Plot is called.
Best,
David
POSTED BY: David Keith
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract