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 - Сообщения

#1 Опубликовано: 12.02.2020 10:38:12
Joki720

Joki720

0 сообщений из 12 понравились пользователям.

Группа: User

Who has faced such a problem, how can it be solved?
Project from below
Bezymjannyjj.jpg
Poverochnyjj raschjot ehzhektora.sm (84 КиБ) скачан 35 раз(а).
#2 Опубликовано: 12.02.2020 12:07:47
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 12.02.2020 12:38:24
Joki720

Joki720

0 сообщений из 12 понравились пользователям.

Группа: 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 Опубликовано: 12.02.2020 14:57:49
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 13.02.2020 07:44:15
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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 пользователям понравился этот пост
Joki720 14.02.2020 13:06:00
#6 Опубликовано: 14.02.2020 13:09:51
Joki720

Joki720

0 сообщений из 12 понравились пользователям.

Группа: 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 Опубликовано: 14.02.2020 13:57:29
sergio

sergio

115 сообщений из 329 понравились пользователям.

Группа: User

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

sergio
#8 Опубликовано: 14.02.2020 14:52:49
Joki720

Joki720

0 сообщений из 12 понравились пользователям.

Группа: 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 Опубликовано: 14.02.2020 19:34:05
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 14.02.2020 22:56:17
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 39 раз(а).
#11 Опубликовано: 15.02.2020 06:37:16
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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 КиБ) скачан 38 раз(а).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#12 Опубликовано: 15.02.2020 12:10:50
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 43 раз(а).
#13 Опубликовано: 15.02.2020 17:54:43
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Always avoid ill posed polynomials.

ill posed.PNG
#14 Опубликовано: 16.02.2020 15:10:14
Jouko Tolonen

Jouko Tolonen

0 сообщений из 4 понравились пользователям.

Группа: 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 Опубликовано: 16.02.2020 20:47:13
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 31 раз(а).
#16 Опубликовано: 16.02.2020 23:09:30
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 41 раз(а).
#17 Опубликовано: 17.02.2020 09:35:01
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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

Poverochnyjj raschjot ehzhektora [solve, spline].sm (110 КиБ) скачан 43 раз(а).
Inst_Isentropic Discharge.sm (173 КиБ) скачан 41 раз(а).
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений