aspose file tools*
The moose likes Java in General and the fly likes Can any one help me to develop this code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Can any one help me to develop this code" Watch "Can any one help me to develop this code" New topic
Author

Can any one help me to develop this code

Nilesh Raje
Ranch Hand

Joined: Aug 02, 2005
Posts: 153
Non-relativistic particles travelling through a medium lose energy. The energy lost per unit length travelled in the
medium, dE
dx , is given by the formula:
dE
dx
= −
0.288
mv2
ZM
AM
ln E
459.0IM
which depends on the energy of the particle, E, the mass of the particle, m, the velocity of the particle, v, the
atomic number of the medium, ZM, the atomic mass of the medium, AM, and the ionisation potential of the
medium, IM.
The name, ZM and AM values for several media are listed in the URL:
http://www.hep.ucl.ac.uk/~markl/teaching/3c59/exam/materials.dat and IM is given by the formula :
IM = 16 � 10−6Z0.9
M .
The names and masses of the particles we will consider in this exercise are listed in the URL:
http://www.hep.ucl.ac.uk/~markl/teaching/3c59/exam/particles.dat This file has the particle�s name
and mass on each line.
The URL: http://www.hep.ucl.ac.uk/~markl/teaching/3c59/exam/results.dat
has a list of material names, particle names and particle energies (E). The particle�s energy, E, is related to the
particles mass, m and velocity v, through E = 1
2
mv2.
Using these three URLs, write appropriate classes for both the particle and the material that can be used to
determine which entry in the results.dat file would result in the largest energy loss per unit length.


Thanks and Regards,<br />Nilesh<br />SCJP 1.4, SCWCD 1.4
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

So what have you done so far?


[Jess in Action][AskingGoodQuestions]
Jaime M. Tovar
Ranch Hand

Joined: Mar 28, 2005
Posts: 133
When you have to hand it in?


She will remember your heart when men are fairy tales in books written by rabbits.<br /> As long as there is duct tape... there is also hope.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can any one help me to develop this code