Plotting Direction Fields for Differential Equations: A Mathematica Tutorial

  • Thread starter Thread starter DivGradCurl
  • Start date Start date
  • Tags Tags
    Direction Field
Click For Summary

Homework Help Overview

The discussion revolves around plotting direction fields for the differential equation y' = 5 - 3√y using Mathematica. Participants are addressing issues related to error messages encountered during the plotting process.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Participants discuss the error messages related to the independent variable and the constraints on the values of y due to the square root function. There is also a question raised about the concept of direction fields.

Discussion Status

Some participants have provided guidance regarding the appropriate range for y values to avoid errors. There is acknowledgment of the importance of understanding the constraints of the function being plotted, and additional resources have been shared to clarify concepts.

Contextual Notes

There is a mention of a Mathematica notebook attached to the discussion, which may contain relevant context for the problem being addressed.

DivGradCurl
Messages
364
Reaction score
0
Does anybody know how to plot the direction field of [tex]y^{\prime} = 5 - 3\sqrt{y}[/tex]?

I get error messages because the independent variable isn't there. I've attached a mathematica notebook that shows it.

Any help is highly appreciated.
 

Attachments

Physics news on Phys.org
thiago_j said:
Does anybody know how to plot the direction field of [tex]y^{\prime} = 5 - 3\sqrt{y}[/tex]?

I get error messages because the independent variable isn't there. I've attached a mathematica notebook that shows it.

Any help is highly appreciated.

Your Y values cannot be less than 0 since it has a y^.5, that's what is messing you up...stick to {y, 0, 10} and you will be fine...
 
You're definitely right. It has nothing to do with the independent variable, and I should have paid attention to the values of y. It works now! Thank you very much.
 
What's a direction field?
 
Thanks, thiago_j.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
13
Views
2K
Replies
9
Views
3K
Replies
11
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K