Unexpected result in Maple (fsolve returns negative value)

  • Context: Maple 
  • Thread starter Thread starter EtherealMonkey
  • Start date Start date
  • Tags Tags
    Maple Negative Value
Click For Summary
SUMMARY

The discussion centers on an issue encountered in Maple 12.02, where the user is experiencing unexpected results from the fsolve function, returning a negative value of -11400 instead of the expected positive value around 13,000. The user has attempted multiple worksheets and checked for errors in the XML file format but continues to face the same problem. Additionally, the user seeks guidance on how to restrict fsolve results to a specific range, particularly ensuring positive outputs.

PREREQUISITES
  • Familiarity with Maple 12.02 and its syntax
  • Understanding of differential equations and initial value problems
  • Knowledge of the fsolve function and its parameters
  • Basic skills in interpreting and manipulating XML files
NEXT STEPS
  • Research how to use the fsolve function in Maple to restrict output to a specific range
  • Explore techniques for debugging differential equations in Maple
  • Learn about the differences between dsolve and fsolve in Maple
  • Investigate common pitfalls when working with Maple worksheets and XML file formats
USEFUL FOR

This discussion is beneficial for mathematicians, engineers, and students using Maple for solving differential equations, particularly those troubleshooting unexpected outputs from the fsolve function.

EtherealMonkey
Messages
41
Reaction score
0
This is a problem that I am working on in Maple 12.

I have assigned the Differential Equation and the Initial Values for the two parts.

Then, I assigned the result to a variable before splitting off the two functions that return from dsolve.

Plotting the first function and the initial value allows me to see that the value should be somewhere around 13,000. But, fsolve is returning a value of -11400.

I have attached the Maple 12 worksheet and the original handout related to this question.

I would detail the problem, my attempt at solving it - etc; except that I do not really believe that would be as productive as having someone else look over the worksheet.

Also, this is the third attempt at entering the values in a 'new' worksheet. I have also opened the other attempted worksheets with Notepad2 (since it is an XML file) to see if there was some incorrect character or other invalid entry in the file. However, even starting with a new sheet is not returning a valid result (I do have another worksheet from when I took this course before where I received "13524.29951" as the result of fsolve at this point.)

If someone could enlighten me as to what in the world I am doing wrong (or if there is a way to limit the results returned by fsolve to a particular range (a>0?), then I would be most appreciative.

TIA,

E.
 

Attachments

Physics news on Phys.org
Okay, here is a screen-shot of Maple with the problem loaded.

The issue that I am inquiring about occurs at Step #9 on the image below. As I stated in the first post, I am re-working this problem and cannot determine why I was able to find f(a)=13524.29951 when I originally worked the problem and now it is returning a negative value (restarting Maple, the machine, starting a new worksheet, etc...).

Note: I have updated Maple to the latest release on the maplesoft website (12.02).

DioxinRemediationFull_400x759.png


---

Also, is there a way to limit the result from fsolve to a particular range? I have not found a way that is returning the value stated above {f(a)=13524.29951} and I presume that answer to be correct - since that is the approximate intersection of the plot shown in Step #8.

Thanks in Advance for any ideas,

E.
 
I downloaded your image, but it's only marginally readable. Have you tried either PDF of JPG with 100%?
 
mugaliens said:
I downloaded your image, but it's only marginally readable. Have you tried either PDF of JPG with 100%?

Sorry, I don't know what photobucket did to my png.

Here is the same image in PDF format (only marginally better - IMHO, but it is readable w/zoom :smile: )
 

Attachments

Similar threads

Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 35 ·
2
Replies
35
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K