Reputation: 15
I'm trying to draw a graph of the function
h(t) = 200 - (1/2)9.8t^2 + 8t
but I keep receiving unexpected symbol errors when I do:
curve(200 - (1/2)*(9.8)t^2 + 8*t)
Any idea how to graph it correctly, and why I received the errors?
Upvotes: 0
Views: 95
Reputation: 9157
There are two problems with your command:
curve
expects the variable to be named x
, not t
. *
is missing between (9.8)
and x
. Try
curve(200 - (1/2)*(9.8)*x^2 + 8*x)
Giving
Upvotes: 2