Lab Exercises )

Recommended reading from Statistics, Data Mining, and Machine Learning in Astronomy ("SDMML") and Numerical Recipes ("NR"):
 
NR: Ch 9, 10


Exercise 1.

Find the lowest positive solution to (x-1) = a*np.cos(x)**2 for a in the range of 1-6 tan(x) = x/(1-a*x^2) using Newton-Raphson

Exercise 2.

Find the location of the minimum of the function 1-exp(-x*x/2) where x is a 2-d vector. Plot the function (density or contour plot) and the solution. Make the situation more challenging by ramping up the dimensionality and adding a local minimum.