vh42720
09/28/2017
Teaching highschool students to graph trigonometry functions is hard. One of the main problem is it hard for them to understand the domain and range each function has. And that is without going into the inverse. Thus, with this tiny app, students can:
Lets try to graph y = sin(x) without any further inputs.
plot1 <- curve(sin,from = -2*pi, to =2*pi)
Lets alter the function to become y = 2*sin(x)
x <- seq(-2*pi, 2*pi, by = pi/128); y = 2*sin(x)
plot(x,y)
As we can see the amplitude is double! Range of y goes from [-1,1] to [-2,2]. Next, lets us again alter our function
Now lets y = 2*sin(2x)
x <- seq(-2*pi, 2*pi, by = pi/128); y = 2*sin(2*x)
plot(x,y)
Hrm…Looks like our plots get much more crowded. As you can imagine the more we expand our function the more complicated our graph become.
Thus, our app allows the student to simultaneously adjust all the parameters with the form:
y = 2*f(b(x-c)) + d