How to use a script - Your turn#
Modify the plot from the demo by adding a second curve to the same plot: \(y = x \cos x\). Use different styles for the two functions and add a legend.
Challenge
Can you get \(\LaTeX\) to work?
# TODO: Write your solution below
Exporting your work#
When you’re ready, the easiest way to export the notebook is to File > Print
it and save it as a PDF.
Remove any excessively long, unrelated outputs first by clicking the arrow → next to the output box and then Show/hide output
.
Obviously don’t obscure any necessary output or graphs!