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

Discussion Overview

The discussion revolves around an issue encountered in Maple 12 regarding the use of the fsolve function, which is returning a negative value when a positive result is expected. Participants are exploring the problem within the context of solving a differential equation and its initial values, as well as the implications of these results on the validity of their computations.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant reports that fsolve is returning a value of -11400, while they expect a value around 13,000 based on their previous work.
  • The same participant expresses uncertainty about the validity of their current worksheet and mentions attempts to troubleshoot by checking for invalid entries in the XML file.
  • Another participant questions the readability of the provided image and suggests using a different format for clarity.
  • The original poster seeks advice on how to limit the results from fsolve to a specific range, particularly to ensure positive values.

Areas of Agreement / Disagreement

Participants have not reached a consensus on the cause of the unexpected results from fsolve, and multiple viewpoints regarding the issue remain. The discussion includes troubleshooting attempts and requests for clarification without a definitive resolution.

Contextual Notes

The discussion highlights potential limitations in the clarity of shared images and the challenges of ensuring accurate input in Maple. There is also an unresolved question regarding the method of constraining fsolve outputs.

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 4 ·
Replies
4
Views
7K
  • · Replies 35 ·
2
Replies
35
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K