This overviews expectations for homework in Lasers and Optomechanics.
You will need to complete the questions in this jupyter notebook and submit it via gitlab
Instructions for submitting homework:
git clonethe class github repository to your computer.Make your own
githuborgitlabrepository for submitting homeworks in this class. You may call itlasers-and-optomechanics-homework-solutions. You can keep it private between us or make it public, your choice. My github and gitlab username are bothccahilla.Copy the jupyter notebook containing the homework
.ipynbfile from the github repository to your repository.Complete the homework questions in the jupyter notebook. Be sure to
git commitandgit pushyour solutions often as your work through them.The homeworks will be due on Fridays at 5 pm. Send me a link to your git committed assignment. I will mostly be grading for completeness.
Technical requirements¶
python¶
You will need to know python to be successful in this class.
Part of the goal of this class will be to develop your coding ability, and create plots as to illustrate your analytic results.
You will need to develop expertise in the following python packages:
numpy
matplotlib
jupyter
¶
Also, is required for this class.
For most syntax, surround your math statements with dollar signs:
$ y = m x + b $
jupyter notebook¶
jupyter notebooks like this have multiple blocks called ‘cells’, that can be either Code, Markdown, or Raw.
This one is Markdown, and so allows us to use LaTeX and other Markdown techniques.
Any cell can be run by hitting Shift + Enter at any time.
If the cell is Code, the python code will be run.
If the cell is Markdown, the markdown in the cell will be interpreted and displayed.
This allows for quick interactive feedback on whether your code is working or not.
Homework Submission Expectations¶
Some questions will require you to do a calculation in python,
others will require a plot to be produced and displayed via matplotlib,
and still others will ask for a mathematical derivation.
For the derivations, they may be done either by pencil and paper and scanned into in a Markdown cell,
transcribed in in a Markdown cell,
or directly in sympy in a Code cell.