SMath Studio Forum
»
SMath Studio
»
Questions
»
The value went beyond the maximum allowed positive number
Rank: Member Groups: Registered
Joined: 12/02/2020(UTC) Posts: 12
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Joki720 Who has faced such a problem, how can it be solved? "result above max ..." has no pertinent meaning in your project. If you attempt "roots" on the numerator only ... "Units don't match" No need to go further ... zap the units in the project.
|
|
|
|
Rank: Member Groups: Registered
Joined: 12/02/2020(UTC) Posts: 12
|
Originally Posted by: Jean Giraud Originally Posted by: Joki720 Who has faced such a problem, how can it be solved? "result above max ..." has no pertinent meaning in your project. If you attempt "roots" on the numerator only ... "Units don't match" No need to go further ... zap the units in the project. I made a mistake, there should be a solve function, in this place the same error
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Joki720 I made a mistake, there should be a solve function, in this place the same error Same answer: Units don't match. How can you solve what you can't plot or evaluate ?
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1127 time(s) in 723 post(s)
|
You can use the function FindRoot() from the Nonlinear Solvers plugin. The function automatically assigns the solution to the variables. Единицы измерения здесь не при чем. |
|
1 user thanked mkraska for this useful post.
|
|
|
Rank: Member Groups: Registered
Joined: 12/02/2020(UTC) Posts: 12
|
Originally Posted by: mkraska You can use the function FindRoot() from the Nonlinear Solvers plugin. The function automatically assigns the solution to the variables. Единицы измерения здесь не при чем. why do you use 0.2 and 0.5?
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/12/2011(UTC) Posts: 319 Location: italy Was thanked: 109 time(s) in 93 post(s)
|
Joki, Martin could have drawn the two curves and graphically estimated the two solutions
sergio
|
|
|
|
Rank: Member Groups: Registered
Joined: 12/02/2020(UTC) Posts: 12
|
Originally Posted by: PompelmoTell Martin could have drawn the two curves and graphically estimated the two solutions
sergio The solution must be automatic, plotting make and evaluating it is not appropriate
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Joki720 The solution must be automatic, plotting make and evaluating it is not appropriate OK ... don't plot => find min/max. Don't you need a road to drive the car from point A to point B ?
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1127 time(s) in 723 post(s)
|
Originally Posted by: Joki720 Originally Posted by: PompelmoTell Martin could have drawn the two curves and graphically estimated the two solutions
sergio The solution must be automatic, plotting make and evaluating it is not appropriate Go on dreaming. If you are in non-linear systems and you can't find a symbolic solution (Maxima's Solve() got stuck when I tried) then you need numerical procedures for solution. These always need an initial guess (Newton-Raphson) or a search region (bisection). The various procedures just differ in how efficient or how robust they are. Some of them may have quite impressive radii of convergence for particular systems but none has infinite radius for all systems. Furthermore, there remains the problem of uniqueness of a solution. The only solvers in SMath capable of providing multiple solutions are the - solve() finds all solutions of a single equation within a given range
- Solve() from the Maxima plugin, which finds symbolic solutions.
Blatt21.sm (6kb) downloaded 15 time(s). |
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: mkraska Furthermore, there remains the problem of uniqueness of a solution. The only solvers in SMath capable of providing multiple solutions are the solve() finds all solutions of a single equation within a given range Solve() from the Maxima plugin, which finds symbolic solutions. Quite right and not enough wrt complex roots. Cubic solver Exercise.sm (39kb) downloaded 18 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Always avoid ill posed polynomials.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 08/02/2020(UTC) Posts: 3 Location: Roodepoort
|
To OP's original question. I did get the same/similar error message on linear interpolation. One of the 5 required values had wrong value. After correcting no issues.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jouko To OP's original question. I did get the same/similar error message on linear interpolation. One of the 5 required values had wrong value. After correcting no issues. . What linear interpolation is doing here ? If that document makes sense, return with comments. Poverochnyjj raschjot ehzhektora [solve].sm (96kb) downloaded 9 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud What linear interpolation is doing here ? If that document makes sense, return with comments. I imagine you mean the very last part of the document. The system looks ill posed, visit Solve Lecture last 3 days. Poverochnyjj raschjot ehzhektora [solve, spline].sm (105kb) downloaded 14 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
The value went beyond the maximum allowed positive number
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.