Recent content by mrcotton

  1. M

    Kinetic Temperaturea and molecular velocities

    Thanks for responding Matterwave Where this question has come from is a discussion I was having about temperature increase as water changes from the solid to the gaseous state. As the water changes from D to E, If temperature is defined as average KE =3/2kT does this imply that the KE and...
  2. M

    Kinetic Temperaturea and molecular velocities

    If I have ice, water and vapour at the triple point and they are in equilibrium at a temperature of 273.16. Does this mean that the average kinetic energy of the particles is the same in each state? If so how can the molecules in the water be moving with the same mean squared speed as the...
  3. M

    Fortran [Fortran] Filling a disk with random points

    Thanks guys, of all ages eh, including senile old codgers like me. There is hope for this old dog yet!
  4. M

    Fortran [Fortran] Filling a disk with random points

    The story so far, I must thank you all I could not have got this far without you guys! I need to work out how to plot my points in gnu plot next and how to store my points in an array +++++++++++++++++++++++++++++++++++++++++ program test_rand real,parameter :: pi = 3.1415926...
  5. M

    Fortran [Fortran] Filling a disk with random points

    Hi Factchecker, Thanks for your time on this. I can see how this is a good way to check if my generated radii are evenly distributed. Please excuse my ignorance but what language is this? Is there unseen code that generates the count for each bin (if that is the correct word) for the .1...
  6. M

    Fortran [Fortran] Filling a disk with random points

    Thanks mathman, that is what I was trying to say, It seems so much clearer in mathematical symbols. Is it possible to explain why this gives a better uniformity?
  7. M

    Fortran [Fortran] Filling a disk with random points

    Does this mean I would calculate my radius using rand() as though it was the range I want squared then square root the value to make a more evenly distributed range?
  8. M

    Fortran [Fortran] Filling a disk with random points

    Brilliant, for all this information on the net sometimes it takes a human mind to assist another human mind eh! I get what is going on now. In general if I see subroutine(value) then value is passed to the sub routine? Thanks for such rapid responses.
  9. M

    Fortran [Fortran] Filling a disk with random points

    Hi FactChecker, So the line in my code call srand(seed) does not generate the value of seed then? what does it do? Do I just need to input the value seed into my program maybe with a parameter statement May I also ask about something else I read about srand() SEED Shall be a scalar...
  10. M

    Fortran [Fortran] Filling a disk with random points

    Thanks FactChecker. I don't understand why my call to seed produce 0 every time I run the program?
  11. M

    Fortran [Fortran] Filling a disk with random points

    I am very grateful to you all for the help so far. It has been over 10 years since I wrote any code, and as expected it runs unexpected. Is this idea of the radius^2 that I generate r^2 then take the sqrt for my value of the radius? +++++++++++++++++++++++++++++++++++++++++++++++++...
  12. M

    Fortran [Fortran] Filling a disk with random points

    Hi Thanks to both of you for the advice. Its going to be a steep learning curve. I just re-partitioned my hard drive and have put on Ubuntu and am no looking for a FORTRAN 95 compiler. I understand what you are saying about the polar coordinates and guess my next task is to work out how to use...
  13. M

    Fortran [Fortran] Filling a disk with random points

    Hi My FORTRAN is rusty and my brain is even more rusty. I want to populate an annulus with a randomly distributed set of points. Any hints or tips to get me thinking about this would be gratefully received. Thanks D
  14. M

    W+ or W- in neutrino collisions

    Hi jtbell, thanks for the rapid response, What confuses me is that for example in say beta minus decay. The proton turns to a neutron by emitting a W- and this W- decays to become an electron and a anti-electon neutrino. The electron in a sense is formed from the "negativness" of the W-. So...
  15. M

    W+ or W- in neutrino collisions

    All the Feynman diagrams I have seen so far for a neutron colliding with a neutrino have a w+ with an arrow from the neutrino to the neutron. Would it not also be possible with a W- leaving the neutron taking away negative charge for it to become a positive proton or is there some quantum rule...
Back
Top