Here is a graphical version that proves that $\sin^2(x)+\cos^2(x)=1$. We did a textual version
of this in a past lesson. This one allows you to really see the behavior of the
sine vs the cosine and see how they add after each is squared.

`A=`

and `f=`

statements. Can you see the graphical verification of $\sin^2(x)+\cos^2(x)$?
Type your code here:

See your results here:

This code will not run. You have to choose a value for $A$ and $f$, the amplitude and frequency. We'd recommend starting with $A=50$, $f=0.01$.
Can you do it?
Dismiss.

Does your code work? Want to run it on your iPhone?

Here's your code:

- Use [Control]-[C] (Windows) or [⌘]-[C] (MacOS) to copy your code.
- Paste it using [Control]-[V] (Windows) or [⌘]-[V] (MacOS) into
this page
- Then click the "Use on iPhone" button that you'll see.