Developing Data Products
Course Project
Matt Frichtl
Trigonometric Graphing Application
Developing Data Products Course Project
- An interactive application for graphing sine and cosine functions.
x <- seq(0, 25, 0.01)
plot(x, sin(x), type = "p", xlab = "x", ylab = "Response")
Never forget what sine & cosine functions look like again!
x <- seq(0, 25, 0.01)
plot(c(x, x), c(sin(x), cos(x)), type = "p", xlab = "x", ylab = "Response")
Or what changes to the function parameters do!
x <- seq(0, 25, 0.01)
plot(c(x, x), c(4 * sin(x), cos(4 * x)), type = "p", xlab = "x", ylab = "Response")
Easy to modify --- add other parameters as well
x <- seq(0, 25, 0.01)
plot(c(x, x), c(x * sin(x), cos(x^2)), type = "p", xlab = "x", ylab = "Response")