HP Forums
slopefield - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: slopefield (/thread-2253.html)



slopefield - leonlenettoyeur - 10-08-2014 01:08 PM

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.


RE: slopefield - Han - 10-08-2014 01:14 PM

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.


RE: slopefield - leonlenettoyeur - 10-10-2014 02:41 PM

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!