Some sample questions for test 1.

calculator

Evaluate each expression. For each, write the answer and the julia commands you used to produce the answer:

*

$$~ \frac{\sin(x) + \cos(x)}{\sin(x) - \cos(x)}, \text{ when } x = 1. ~$$

For each function, write a function in julia and compute $f(1/2)$. For each, your answer should have the command to define the function and the value at $1/2$.

Plotting

Zeros