The value went beyond the maximum allowed positive number

The value went beyond the maximum allowed positive number - the value went beyond the maximum allowed positive number, error in the solve function - Messages

#1 Posted: 2/12/2020 10:38:12 AM
Joki720

Joki720

0 likes in 12 posts.

Group: User

Who has faced such a problem, how can it be solved?
Project from below
Bezymjannyjj.jpg
Poverochnyjj raschjot ehzhektora.sm (84 KiB) downloaded 35 time(s).
#2 Posted: 2/12/2020 12:07:47 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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.

#3 Posted: 2/12/2020 12:38:24 PM
Joki720

Joki720

0 likes in 12 posts.

Group: User

Wrote

Wrote

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
#4 Posted: 2/12/2020 2:57:49 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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 ?

UnitsDontMatch.PNG

#5 Posted: 2/13/2020 7:44:15 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

You can use the function FindRoot() from the Nonlinear Solvers plugin. The function automatically assigns the solution to the variables.

Единицы измерения здесь не при чем.

2020-02-13 11_38_00-SMath Studio 0.99.7251 - [Poverochnyjj%20raschjot%20ehzhektora.sm_].png
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Joki720 2/14/2020 1:06:00 PM
#6 Posted: 2/14/2020 1:09:51 PM
Joki720

Joki720

0 likes in 12 posts.

Group: User

Wrote

You can use the function FindRoot() from the Nonlinear Solvers plugin. The function automatically assigns the solution to the variables.

Единицы измерения здесь не при чем.

2020-02-13 11_38_00-SMath Studio 0.99.7251 - [Poverochnyjj%20raschjot%20ehzhektora.sm_].png



why do you use 0.2 and 0.5?
#7 Posted: 2/14/2020 1:57:29 PM
sergio

sergio

115 likes in 329 posts.

Group: User

Joki,
Martin could have drawn the two curves and graphically estimated the two solutions

sergio
#8 Posted: 2/14/2020 2:52:49 PM
Joki720

Joki720

0 likes in 12 posts.

Group: User

Wrote

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
#9 Posted: 2/14/2020 7:34:05 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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 ?

min_max.PNG

#10 Posted: 2/14/2020 10:56:17 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Who has faced such a problem, how can it be solved?


Common from ill posed construction.
Consider yellow up until you can plot that system(x,y):= ....
from there it should be solvable.

Poverochnyjj raschjot ehzhektora [zap Units, define the Undefined ...].sm (94 KiB) downloaded 39 time(s).
#11 Posted: 2/15/2020 6:37:16 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

Wrote

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.png
Blatt21.sm (5 KiB) downloaded 38 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#12 Posted: 2/15/2020 12:10:50 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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 (38 KiB) downloaded 43 time(s).
#13 Posted: 2/15/2020 5:54:43 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Always avoid ill posed polynomials.

ill posed.PNG
#14 Posted: 2/16/2020 3:10:14 PM
Jouko Tolonen

Jouko Tolonen

0 likes in 4 posts.

Group: User

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.
#15 Posted: 2/16/2020 8:47:13 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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 (95 KiB) downloaded 31 time(s).
#16 Posted: 2/16/2020 11:09:30 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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 (104 KiB) downloaded 41 time(s).
#17 Posted: 2/17/2020 9:35:01 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... maybe we can leave it as such ... cleanup ?

Poverochnyjj raschjot ehzhektora [solve, spline].sm (110 KiB) downloaded 43 time(s).
Inst_Isentropic Discharge.sm (173 KiB) downloaded 41 time(s).
  • New Posts New Posts
  • No New Posts No New Posts