Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Math for programming

I want to learn Math for programming. For example drawing in Canvas or some thing I still don't know. Can anyone help me.

4 Answers

Coding in Math Video Tutorials (using JavaScript but can be adapted to other languages)

https://www.youtube.com/playlist?list=PL7wAPgl1JVvUEb0dIygHzO4698tmcwLk9

Hope this helps

I did not look at any video yet but the playlist made feel good about it. I will review it here as soon as I take a look at it. You are amazing, Thank you

No but I actually want to learn Math

Ken Alger
Ken Alger
Treehouse Teacher

Can you provide an idea of what your current math skill set is (algebra, geometry, trig, etc) and I'll try to point you in the right direction?

I am know learning derivation but I am on a german curriculum so I have to study the terms in ENGLISH as well. And I have to review trigonometry.And my problem is using the theory I have to do practical things.

Ken Alger
Ken Alger
Treehouse Teacher

Hossam;

You may want to check out High School Mathematics Extensions as a review of general math from high school, with some added stuff depended on when and where you went to school.

There is a segment there on Mathematical Programing, although it concentrates on the C Programming language. Reading through some of the concepts could be useful for other languages as well.

For trigonometry specifically, this site seems to cover quite a bit of material.

In terms of what you need to know specifically I would think that it really depends on what "practical things" you intend on doing in terms of coding. If you want to get into Cryptography, for example, that can be rather mathematical when it comes to programming, and there are some free university level courses available online that take 6-7 weeks to accomplish.

Ken

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Hossam;

There is a module in the jQuery Basics course that shows the creation of a basic drawing program. Working through that might give you a better idea of what math skills would be necessary. Math skills in general are a benefit, but that doesn't mean that you need a degree in advanced math to get through most programming. There aren't too many folks that need to know on a daily basis how to solve questions like:

What is the volume of the region bounded by the graphs of the equations z=x^2, z=x^3, y=z^2, y=0 ?

Not something I have used or had to solve in a long time.

I guess my ultimate answer would be to learn the programming language(s) you need to program the project(s) you want to design and the math equations can be learned along the way.

Best of luck,

Ken