ceight1

10 Reputation

3 Badges

4 years, 226 days

MaplePrimes Activity


These are questions asked by ceight1

I have been working on some code today and I keep getting errors in my code trying to solve it. I am trying to solve this problem:

y' = (-2xy) + 1 , y(0) = 0

Solve this problem numerically using step size of h=0.1 (101 values) and h = (0.05) (201 values). Create a plot of the two approximate solutions and the analytic solution. Show all work!

I think I got the plot code correct, I must be entering the beginning code incorect as It says:

"Error, (in DEtools/DEplot/CheckDE) extra unknowns found: xy"

Here is my code. Somebody please help me or lead me in the right direction! Thank you!

 

TEST_CODE_1.mw

 

 

 

Page 1 of 1