HP Forums

Full Version: slopefield
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good morning! I just got my Prime yesterday and I'm pretty excited about it.

I was trying to put it through its paces last night and tried to make a slopefield. I followed the syntax listed in the User Guide as well as the syntax listed when you hit the "help" button. For example, I input

plotfield(x*COS(y),x=-5..5,y=-5..5)

and it outputs

segment(point(-5,5),point(-4.64285714286,-5.5065396169))segment...

where the ... indicates more points. I feel as if it's outputting the command for the segments to indicate slopes instead of plotting anything, but I'm sure it's user error. What am I missing to plot a slopefield? It would really help me out right now in my analytical mechanics course.
Try using the Geometry app. Go to the symbolic view and enter: plotfield(x*cos(y),x=-5..5,y=-5..5) into the right-most input field. Then press plot.
Sure enough! Thanks a lot, Han.

Now I just need to find how to specify various initial conditions to see how the plots compare.

Thanks again!
Reference URL's