HP Forums
Graphing Differential Equations (Slope Fields) - 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: Graphing Differential Equations (Slope Fields) (/thread-7669.html)



Graphing Differential Equations (Slope Fields) - CloudHP - 01-27-2017 05:10 AM

I'm currently using my HP Prime's geometry app CAS plotfield() function to graph my slope fields, however the lines are a bit longer than how I want. Is there any way to make the tangent lines shorter?

I want it to be something similar to this:

[Image: hqdefault.jpg]

Currently, mine looks like this:

https://drive.google.com/file/d/1ef9Zmfin-kEmqJuqeiaWsBbKNWCnmKBvZg/view?usp=sharing


RE: Graphing Differential Equations (Slope Fields) - Tim Wessman - 01-27-2017 06:06 PM

(01-27-2017 05:10 AM)CloudHP Wrote:  https://drive.google.com/file/d/1ef9Zmfin-kEmqJuqeiaWsBbKNWCnmKBvZg/view?usp=sharing

Hello,

Are you manually typing in a 'plotfield' command? Or using the little popup editor that appears when you press the Plot->slopefield in your plot view?

If you don't see a little editor when you do that, that means you aren't up to date in your Prime software. I ask because the editor screen automatically adds in the required 'normalize' tag at the end to give you what you'd like here.

plotfield(sin(x),[x = ((-16.) .. 16.),y = ((-11.) .. 10.9)],xstep = 2.5,ystep = 2.5,'normalize') <-- note the 'normalize' as the last argument.


RE: Graphing Differential Equations (Slope Fields) - CloudHP - 01-27-2017 10:17 PM

(01-27-2017 06:06 PM)Tim Wessman Wrote:  
(01-27-2017 05:10 AM)CloudHP Wrote:  https://drive.google.com/file/d/1ef9Zmfin-kEmqJuqeiaWsBbKNWCnmKBvZg/view?usp=sharing

Hello,

Are you manually typing in a 'plotfield' command? Or using the little popup editor that appears when you press the Plot->slopefield in your plot view?

If you don't see a little editor when you do that, that means you aren't up to date in your Prime software. I ask because the editor screen automatically adds in the required 'normalize' tag at the end to give you what you'd like here.

plotfield(sin(x),[x = ((-16.) .. 16.),y = ((-11.) .. 10.9)],xstep = 2.5,ystep = 2.5,'normalize') <-- note the 'normalize' as the last argument.

I am going into the commands in the CAS Geometry, hitting plot and then hitting slopefield. Does this mean my software is out of date? I just plugged it in recently and it said I had software updates so I updated. I can use the normalize function which just types normalize() into the equation. How would I use it in correlation to the plotfield function?

Also sorry, could you explain a brief tutorial on how to graph slope fields in general? What do the vector variables mean? I am a bit confused. Thanks.


RE: Graphing Differential Equations (Slope Fields) - mark4flies - 01-28-2017 01:15 PM

Did you read the user guide? It explains how to produce the slope field you want in Chapter 9, Geometry App, specifically page 162, in the latest edition.


RE: Graphing Differential Equations (Slope Fields) - CloudHP - 01-29-2017 06:42 AM

(01-28-2017 01:15 PM)mark4flies Wrote:  Did you read the user guide? It explains how to produce the slope field you want in Chapter 9, Geometry App, specifically page 162, in the latest edition.

Oh okay, thanks so much! I figured it out.