Parabolas are those "U"-shaped functions that have the form of y=A(x−B)2+C. Plotting parabolas is a great
way to learning how the parameters like A, B and C effect the look and shape of a parabola. You can learn
how to plot parabolas here.
Now you try. Try fixing the y= statement and the pset statement to plot the variable x on the x-axis and y on the y-axis.
Type your code here:
1
pcls(0)
2
forx=-100,100do
3
y=
4
pset( , )
5
end
See your results here:
This code will not run. You have to fix the y= statement first to define your parabola (hint: try y=x^2). Next, you
have to fix the pset statement to plot x on the x-axis, and y on the y-axis. Can you do it?
Share your code
Show a friend, family member, or teacher what you've done!