News for hackers. Stuff that matters.
Re:Intro to Computational Physics by saboot on Friday December 09, 2016 @09:40AM (#13138962)
All it teaches is Euler's method (and the euler-cromer variation)? That's .. not much and pretty basic. I'd expect a lot more from a comp. physics course. Usually you see at least something like symplectic integration, solving PDEs, quadratures, and a monte-carlo simulation like a 2D Ising model. I've taken two comp. physics courses at the undergrad and grad level. definitely preferred the course where he explained the algorithm in pseudo-code on the board, and we could write it however we pleased.
Re:Intro to Computational Physics by castratikron on Friday December 09, 2016 @10:38AM (#13139293)
I didn't even take a computational physics course as part of my physics undergrad, and I still learned about the 2D Ising model, the Monte Carlo method (which I implemented for a project), and solving ODEs with the Runge Kutta method. The Euler method is too inaccurate to be useful. The only thing it might be good for is teaching about numerical integration.
Re:Intro to Computational Physics by santaclaus on Friday December 09, 2016 @01:34PM (#13140708)
> The Euler method is too inaccurate to be useful.

You can make it as accurate as you want by shrinking the time step. :)

Re:Intro to Computational Physics by drjesusphd on Friday December 09, 2016 @02:29PM (#13141124)
That's no way to go through life.
Re:Intro to Computational Physics by sonium on Friday December 09, 2016 @03:55PM (#13141759)
This is actually not true since rounding errors will compound.
Re:Intro to Computational Physics by santaclaus on Friday December 09, 2016 @05:30PM (#13142432)
Sure, in IEEE 754! But to call the various explicit variants of Euler useless is a bit off. Symplectic Euler is quite nice in certain applications. Hell, Newton derived a number of theorems by reasoning about explicit Euler discretizations (usually geometrically).
Re:Intro to Computational Physics by sidlls on Friday December 09, 2016 @11:32AM (#13139679)
Yeah, it's pretty light, but look at the course number--it's a sophomore level course. Most physics students who'd be taking this course (likely as an elective or part of a focus/specialized track) are taking "Physics III" and "Calc III" concurrently, or if they're taking it in the second semester concurrently with something like undergrad classical mechanics.

They won't have been exposed to PDEs (or, at least, only tangentially through the multi-dimensional topics covered in "Calc III" or the second physics course of their freshman year) or problems reaching the level of sophistication that would make, e.g. Monte Carlo "interesting" to use (in my opinion).

Re:Intro to Computational Physics by godelski on Friday December 09, 2016 @02:15PM (#13141018)
I can tell you this is not the norm. I took and TA'd a computational physics course when I was in Uni. There was a lot more in that course. Euler's was taught but quickly went to using RK4. Lotka-Volterra (predator vs prey modeling) were discussed in depth, PDEs, monte-carlo (had students calculate pi), lots on SHO systems (common equation type in classical and quantum mechanics), various fitting functions, and even basic signal analysis. This served as the introduction to computing for our physicists too, where they could use MATLAB or Python. Above course seems lacking.
Re:Intro to Computational Physics by jschwartzi on Friday December 09, 2016 @03:51PM (#13141725)
Was it a 200-level class, though?
Re:Intro to Computational Physics by godelski on Friday December 09, 2016 @04:51PM (#13142161)
Yep. And so is the one in this post. If there's interest I'll message the professor and post it. But it is mostly homework assignments and some bad notes. (You can do directory transversals for solutions. He doesn't care that this exists...)
Re:Intro to Computational Physics by pc86 on Friday December 09, 2016 @01:54PM (#13140868)
I can't speak as to why this specifically was posted, but the school is in my general area (less than an hour away) and is not particularly well regarded on the academic front. I'm not familiar with Dr. Walck so I don't mean that as a judgment on him at all, just referring to the school generally. If your focus is athletics it's probably okay despite being D3.
Re:Intro to Computational Physics by darmok on Friday December 09, 2016 @04:10PM (#13141884)
According to Wikipedia:

------------- Consistently named to US News & World Report's "America’s Best Colleges" list under the Regional College (North) and Best Value School categories. The Princeton Review also recognized the college as "A Best in the Northeast," and Lebanon Valley College was also named on Forbes' list of "America's Top Colleges." -------------

I'm not familiar with LVC, but it seems like it's regarded as a pretty decent place to go to school.

Re:Intro to Computational Physics by aklemm on Friday December 09, 2016 @02:25PM (#13141091)
What if this is one guy at the school working hard to raise it's profile and you dissed the effort without evaluating it's merits?
Re:Intro to Computational Physics by gjstein on Friday December 09, 2016 @12:29PM (#13140113)
Agreed; a similar course I took as an undergraduate sophomore covered all of this material in two weeks. I'll see if I can dig up some of my old notes. If the HN community has a desire for more computational physics, I'd be happy to share.
Re:Intro to Computational Physics by gjm11 on Friday December 09, 2016 @09:38AM (#13138943)
Similar in spirit (but not so introductory and specific to mechanics): Structure and Interpretation of Classical Mechanics, by Sussman and Wisdom. Whole book available online here: https://mitpress.mit.edu/sites/default/files/titles/content/... .

(SICM uses Scheme -- of course! -- where this course uses Haskell. SICM is cited in the paper linked by agumonkey as an influence on the approach taken in this course.)

Re:Intro to Computational Physics by saboot on Friday December 09, 2016 @09:46AM (#13138996)
SICM also goes into way more physics than this course page does. Lagrangian / Hamiltonian mechanics, canonical transformations leading to symplectic integration, phase spaces, and perturbation theory.
Re:Intro to Computational Physics by agumonkey on Friday December 09, 2016 @10:16AM (#13139161)
SICM is indeed mentioned in the pdf references (I linked it below)
Re:Intro to Computational Physics by kutkloon7 on Friday December 09, 2016 @09:42AM (#13138975)
I find the combination of Haskell and such simple techniques quite odd. This seems more like an introduction to Haskell using some toy physics computational examples.
Re:Intro to Computational Physics by agumonkey on Friday December 09, 2016 @05:29AM (#13137890)

  - paper: https://arxiv.org/abs/1412.4880
  - source: https://twitter.com/prezcannady/status/807065697608224768
Re:Intro to Computational Physics by gravypod on Friday December 09, 2016 @09:21AM (#13138861)
I wish courses like this where available for CS majors instead of math and physics courses. I might actually learn something.
Re:Intro to Computational Physics by dhruvmittal on Friday December 09, 2016 @09:08AM (#13138791)
I immediately love that this is taught in Haskell. I hadn't learned how excellent Haskell is for (non-hpc) computational physics until well into my Masters, where I began to replace my python analysis scripts.

And it's a far sight more elegant than my first Numerical Methods class, which used MatLab.

Re:Intro to Computational Physics by martincmartin on Friday December 09, 2016 @02:46PM (#13141257)
Related topic: What software do theoretical physics use when developing theories? Mathematica? Or do they just use paper and pencil?
Re:Intro to Computational Physics by sonium on Friday December 09, 2016 @04:00PM (#13141803)
Developing theories: pen & paper Testing theories: anything from Mathematica, Python and if things get serious: Fortan
Re:Intro to Computational Physics by WesternStar on Friday December 09, 2016 @07:40AM (#13138398)
Looks cool. Any way you can share the notes?
Re:Intro to Computational Physics by agumonkey on Friday December 09, 2016 @08:15AM (#13138546)
I'm just pushing what the tweet above said. Maybe notes/lectures will be uploaded later .. I don't know.
Re:Intro to Computational Physics by novalis78 on Friday December 09, 2016 @08:54AM (#13138727)
thanks for sharing this, looks really cool
Re:Intro to Computational Physics by agumonkey on Friday December 09, 2016 @09:32AM (#13138921)
In case you don't know, there's a book called SICM Structure and Interpretation of Classical Mechanics (by Sussman, SICP author). Similar idea, physics + computing, except it's a scheme library. Google it.