Class Notes (835,600)
CS 137 (16)
Lecture 9

# Programming Lecture 9.docx

2 Pages
69 Views

School
Department
Computer Science
Course
CS 137
Professor
Andrew Morton
Semester
Fall

Description
Programming Lecture 9 October 11, 2012 math.h  #include  Trigonometric functions use radians  General format: o Double sin(double x);  Selected fuctions o Trig  sin  asin  cos  acos  tan  atan o Exponential  exp  ex  log  lnx  log10  log10 o Powers  double pow (double x, double y);  xy  sqrt  √x  ceil  floor  fabs  |x| o Constants  M.PI  π  M.E  e  Root findings o Supposings and musings  f(x) = x – cosx  Where is the root?  f(-10)<0, f(10)>0  f(0) = -1 < 0  f(5) = 4.72 > 0  f(2.5) = 3.30 > 0  f(1.25) = 0.93 > 0  f(0.625) = -0.186 < 0 
More Less

Related notes for CS 137
Me

OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Join to view

OR

By registering, I agree to the Terms and Privacy Policies
Just a few more details

So we can recommend you notes for your school.