R

>>Anyways, must I learn the analytic geometry if I just want to make simple programs that resemble something of 3d, but maybe not 100% accurate?

No, you can write very simple programs without understanding the maths. But that's all you'll be able to do. If you learn a little more, you'll be able to go much further. And you'll be able to make more sense of the maths on Wikipedia.

>>They don't teach any useful math at school and they aren't any time soon so I don't know where to start learning

Don't forget that it's more important to a teacher that the dull students aren't left behind, than the bright students get ahead. Maybe you can find a teacher who is willing to explain something to you outside of class. Or maybe a parent or relative of yours could help.

At my school there was a maths society where we explored topics outside of the curriculum...

Having a good teacher is probably the best way to learn this sort of stuff, but failing that a good book might be helpful. Check your library for something that's at the right level for you.

>>And I don't what this type of stuff means:

>>sin^2 (x) <<????

Basically, computer programmers need to make sure the computer understands them. Mathematicians need to make sure that other mathematicians understand them. So while programming languages tend to be fairly simple and consistent, mathematical notation is much less so.

Also remember that mathematics until recently was nearly always written by hand, and even today much is written by hand. A notation that's easier to read in slightly messy writing is a winner.

There are many areas of mathematics where there are a few different notations in popular usage. Often say Europe will use one notation and the US will use another.

Anyway, this is one case where "everybody knows" that sin^2(x) means sin(x)*sin(x). Just learn it.

>>\$variable = new variabletype();

This is to do with object oriented programming, a big topic that I don't think you should worry about just yet. PHP does not require you to use it.

Posted on Mar 14, 2009, 3:05 AM