Archived

This topic is now archived and is closed to further replies.

Looking for Math in Programming Resources

This topic is 5016 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hail fellow programmers! I want to take the next step in my programming escapade. I''ve learned the language, I''m learning the math, so how do I unify these two forms of expression? I''m looking for a good website or two, that will explain to me how I implement this trig I''ve learned into my programming. I''ve been playing with sin, cos in math.h but the output to me is bizarre. For example, if I cout 1/sin(sqrt(2)/2) It returns some integer. I''m sure that is the integer equivalent of 45 degrees, but I need some resource that explains to me what is actually happening. I look forward this new advanture, and Thank you in advance! p.s. Would be preferable if site relates to c++, but theory is fine too

Share this post


Link to post
Share on other sites