What is an integral, and why would it be useful in coding?
It can numerically sum things up and compounds.
What is one thing you should take into account when graphing?
Labeling the axes, accuracy, correct scaling.
Is y = cos(x) an even or an odd function?
Even.
What is the point of the main guard/function?
Allows you to control the execution of the code.
What might you use to determine the surface brightness of a galaxy?
An integral.
What are four libraries that can be useful to import?
Numpy, matplotlib, astropy, csv.
Explain the following index: dinosaurBones[8:300:22].
Read a list of 300 entries starting with the 9th, step through the list 22 entries at a time.
How do we estimate error in our integration methods?
Use Taylor’s expansion around the points.
How long does it take to compute 1e9 calculations?
20 minutes.
What are three methods of integration we can use in computations?
Rectangular, Trapezoidal, Simpson’s.
What type of functions can be used in the Fourier series?
Periodic functions.