3 ms·
So what? That does not mean that he should look into math to understand the physics behind this demo. Yeah, geometry is pretty much math (that's why I separate
by kaoD 13y ago
So what? That does not mean that he should look into math to understand the physics behind this demo.
Yeah, geometry is pretty much math (that's why I separated it in the parent comment) but physics justs uses math to model and express the physic concepts.
The math behind the physics on this demo is just addition, subtraction, multiplication... He shouldn't be concerned about the math, but about the physics... unless he doesn't know elementary math of course.
The math behind the basic Newtonian Physics is damn simple. The geometry is very simple too (basic Euclidean Geometry, Bezier curves and that's pretty much it).
- nkozyra 13y agoI was simply correcting the notion that it's "not math." Understanding something like this can go one of two ways: 1. Reverse engineer it by playing with the code. This is, of course, the very ethos of these code share sites. 2. Learn the basics of physics & geometry on your own and come back to it. Feel free to choose either method, but for the developer who is curious, option 1 is a lot faster.
- kaoD 13y agoWell, physics IS NOT math even if physics uses math as a tool. Economics isn't math even if economics uses math all the time. The rest of your comment is correct but irrelevant. He could (and should) go learn the physics he's lacking... but he would probably not learn a single new math concept. The math needed to express these physics concepts is taught in secondary education (addition, subtraction, multiplication, vectors... not much more).
- nkozyra 13y agoPhysics is not math, true. The "physics" he didn't understand in the code IS math, though. That's the point. Even if you know physics, you won't be able to understand the code without the math.
- WickyNilliams 13y agoI could indeed reverse engineer by playing around, but it's unlikely I'd ever be able to independently produce something like that myself if I went down that path. I think both is the best, learn some theory, play around with it, rinse, repeat. That said, what areas of geometry and physics should I focus on? Any good online resources?
- WickyNilliams 13y agoApologies, I thought it would perhaps be more linear algebra. The deal is I haven't done any maths since university and I've become very rusty. I haven't done any physics in even longer! Where should I start? I guess I'd even need to know things like how to even draw a curve etc. I'm a complete amateur "physics is to math as sex is to masturbation" - XKCD
- a-nikolaev 13y agoYou are not exactly right. FYI, Newtonian mechanics = differential equations and calculus. And more advanced Lagrangian mechanics is a reinterpretation of the same ideas. I'm almost sure that Calculus was created by people like Newton in responce to the needs of mechanics and physics. The fact that the program is implemented by using " just addition, subtraction, multiplication" is irrelevant, because this is how computers (and mathematical numerical methods) work. For many great mathematicians the difference between math and physics is almost non-existent. You may also read this guy, btw https://en.wikipedia.org/wiki/Vladimir_Arnold https://en.wikipedia.org/wiki/Vladimir_Arnold