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 - Mensajes

#1 Publicado: 12/2/2020 10:38:12
Joki720

Joki720

0 me gusta en 12 mensajes.

Grupo: User

Who has faced such a problem, how can it be solved?
Project from below
Bezymjannyjj.jpg
Poverochnyjj raschjot ehzhektora.sm (84,1 KiB) descargado 1179 vez(es).
#2 Publicado: 12/2/2020 12:07:47
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 12/2/2020 12:38:24
Joki720

Joki720

0 me gusta en 12 mensajes.

Grupo: 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 Publicado: 12/2/2020 14:57:49
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 13/2/2020 7:44:15
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 1 usuarios les gustó este mensaje
Joki720 14/2/2020 13:06:00
#6 Publicado: 14/2/2020 13:09:51
Joki720

Joki720

0 me gusta en 12 mensajes.

Grupo: 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 Publicado: 14/2/2020 13:57:29
sergio

sergio

127 me gusta en 342 mensajes.

Grupo: User

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

sergio
#8 Publicado: 14/2/2020 14:52:49
Joki720

Joki720

0 me gusta en 12 mensajes.

Grupo: 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 Publicado: 14/2/2020 19:34:05
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 14/2/2020 22:56:17
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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,03 KiB) descargado 1007 vez(es).
#11 Publicado: 15/2/2020 6:37:16
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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,23 KiB) descargado 1196 vez(es).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#12 Publicado: 15/2/2020 12:10:50
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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,97 KiB) descargado 1166 vez(es).
#13 Publicado: 15/2/2020 17:54:43
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Always avoid ill posed polynomials.

ill posed.PNG
#14 Publicado: 16/2/2020 15:10:14
Jouko Tolonen

Jouko Tolonen

0 me gusta en 4 mensajes.

Grupo: 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 Publicado: 16/2/2020 20:47:13
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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,19 KiB) descargado 1028 vez(es).
#16 Publicado: 16/2/2020 23:09:30
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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) descargado 1060 vez(es).
#17 Publicado: 17/2/2020 9:35:01
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

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

Poverochnyjj raschjot ehzhektora [solve, spline].sm (110,44 KiB) descargado 1013 vez(es).
Inst_Isentropic Discharge.sm (173,76 KiB) descargado 1150 vez(es).
  • Nuevos mensajes
  • Sin mensajes nuevos