Recent content by John_Phillips
-
J
C/C++ Guide to C++ Programming For Beginners
No, you don't. Any programming requires you to think algorithmically, and that is a skill mathematicians tend to have, but you don't have to be a mathematician to program. John- John_Phillips
- Post #130
- Forum: Programming and Computer Science
-
J
C/C++ Guide to C++ Programming For Beginners
Is the directory that holds the nr3.h header in your include paths? That is the typical cause of this error. John- John_Phillips
- Post #128
- Forum: Programming and Computer Science
-
J
Screen Coordinates to Cartesian Coordinates
I think I know what you mean, but I think asking for it shows a misunderstanding. Screen coordinates are a rectilinear 2 dimensional system, so they are already Cartesian. They just happen to be a Cartesian system with the origin at the upper left corner and the positive y-axis pointing down the...- John_Phillips
- Post #3
- Forum: Programming and Computer Science
-
J
Graduate What Does 'The Mystery of the Missing Antimatter' Say About Antimatter Scarcity?
A quick fix because I was typing at 2AM my time for my last post. The Higgs mechanism isn't a seesaw. Sorry for saying it that way. John- John_Phillips
- Post #13
- Forum: Cosmology
-
J
Graduate CMB Clarifications: Understanding the Impact of Expansion and Temperature Shift
mysearch, If you would like to see the details, including all three of the different expansion rate epochs and calculations of what the rate is in the different epochs (matter dominated, radiation dominated, and vacuum dominated) I would suggest a recent cosmology text. My current personal...- John_Phillips
- Post #26
- Forum: Cosmology
-
J
Graduate What Does 'The Mystery of the Missing Antimatter' Say About Antimatter Scarcity?
There are questions about whether the CP violation rate is a constant (or close to it) or does it vary with the energy density quickly enough to explain baryogenesis. Some exotic theories allow for a rate that varies enough to fix baryogenesis, but I can't claim to be convinced. Yes, this...- John_Phillips
- Post #11
- Forum: Cosmology
-
J
Graduate Differential geometry in quantum mechanics - conserved quantities
What you are aiming at here is called Noether's theorem. It shows an equivalence between symmetries and conservation laws. Work sometimes called Noether's second theorem extends this idea to infinite dimensional Lie algebras and systems of differential equations. John- John_Phillips
- Post #2
- Forum: Differential Geometry
-
J
Drand48() returning same random numbers each time
A quick caution. If you want to run your program (or maybe a function that does this part of your program) many times in rapid succession, don't use the time(0) function to seed the generator. It will be called to close together, and the numbers in the sequences from the different runs will...- John_Phillips
- Post #5
- Forum: Programming and Computer Science
-
J
C/C++ Guide to C++ Programming For Beginners
For ehrenfest - For your first question, the trouble you have is about the return type. You are returning a pointer to integers. That will work for one dimensional arrays, but not for higher dimensional arrays. Your 3 by 3 array is actually a pointer to pointers to integers. That is, the first...- John_Phillips
- Post #125
- Forum: Programming and Computer Science
-
J
Mathematica Maple vs Mathematica: Which is Right for You?
Maple circa the mid 1990's was not great. Current Maple is far better. However, I agree with mgb_phys that it is a nearly religious choice and the best way to make it is to see what the people you want to trade information with use.- John_Phillips
- Post #4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
J
Graduate What Does 'The Mystery of the Missing Antimatter' Say About Antimatter Scarcity?
From a particle physics point of view, it is about cross sections and channels. As noted above, a specific symmetry, called CP symmetry is broken. If CP symmetry is preserved, the event rates for particles and antiparticles in the same interactions should be identical. Empirically, we know this...- John_Phillips
- Post #9
- Forum: Cosmology
-
J
Graduate CMB Clarifications: Understanding the Impact of Expansion and Temperature Shift
To expand slightly on what Marcus said, yes that ratio is about right. It happens to be true that matter/radiation equality (the time when the energy densities in matter and radiation were equal) happened very close to the same redshift as matter radiation decoupling. This is important...- John_Phillips
- Post #24
- Forum: Cosmology