wwhitney
Senior Member
- Location
- Berkeley, CA
- Occupation
- Retired
Looks like you've already done it--whenever you type in a constant line like "R = 3", Desmos creates a little slider below it, and if you drag the dot left or right, it changes the value of the constant. It picks the initial bounds of the slider based on the initial value you assigned; you can see in your last screen grab that for RB=3, it picked the bounds 1 and 5. Presumably there's a simple way to change the bounds yourself.I don't know what I should do to set up two sliders called C and S
Maybe it would help to think of it as adjusting parameters.nor why I would slide constants.
If you look at the last screen grab I posted, all the starting sinewaves were of the form A * sin(x+B). That's a two parameter family, with A the amplitude and B the phase angle. Then visually we could see that adding and subtracting them, and multiplying them by constants, the graphs all still look like sinewaves of the same frequency. In fact they are all of that form for different parameters A and B.
So if you understand how the various operations of addition, subtraction, and multiplication by a constant affect the parameters A and B, instead of working with the graphs directly, you can work with the parameters. Which is a lot less data, just two real numbers, rather than one real number for every value between 0 and 360 degrees.
It is also true that cos(x) is of the form A*sin(x+B). That means that C*cos(x) + D*sin(x) is another two parameter family of sinewaves; but it covers the identical collection of sinewaves. That is for each sinewave we can associate the parameters A, B, C, and D. [But not arbitrarily; if we choose A and B, that determines the sinewave, and thus C and D, and vice versa.]
When looking at sinewaves as vectors in the plane, we associate a sinewave with the point whose Cartesian coordinates are (C,D).
Cheers, Wayne