Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Joki720  
#1 Posted : 12 February 2020 16:38:12(UTC)
Joki720


Rank: Member

Groups: Registered
Joined: 12/02/2020(UTC)
Posts: 12

Who has faced such a problem, how can it be solved?
Project from below
Bezymjannyjj.jpg
Poverochnyjj raschjot ehzhektora.sm (85kb) downloaded 15 time(s).

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 12 February 2020 18:07:47(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Joki720 Go to Quoted Post
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.

Offline Joki720  
#3 Posted : 12 February 2020 18:38:24(UTC)
Joki720


Rank: Member

Groups: Registered
Joined: 12/02/2020(UTC)
Posts: 12

Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Joki720 Go to Quoted Post
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
Offline Jean Giraud  
#4 Posted : 12 February 2020 20:57:49(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Joki720 Go to Quoted Post
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

Offline mkraska  
#5 Posted : 13 February 2020 13:44:15(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
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://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 14/02/2020(UTC)
Offline Joki720  
#6 Posted : 14 February 2020 19:09:51(UTC)
Joki720


Rank: Member

Groups: Registered
Joined: 12/02/2020(UTC)
Posts: 12

Originally Posted by: mkraska Go to Quoted Post
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?
Offline PompelmoTell  
#7 Posted : 14 February 2020 19:57:29(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 319
Man
Italy
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
Offline Joki720  
#8 Posted : 14 February 2020 20:52:49(UTC)
Joki720


Rank: Member

Groups: Registered
Joined: 12/02/2020(UTC)
Posts: 12

Originally Posted by: PompelmoTell Go to Quoted Post
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
Offline Jean Giraud  
#9 Posted : 15 February 2020 01:34:05(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Joki720 Go to Quoted Post
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

Offline Jean Giraud  
#10 Posted : 15 February 2020 04:56:17(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Joki720 Go to Quoted Post
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 (95kb) downloaded 16 time(s).
Offline mkraska  
#11 Posted : 15 February 2020 12:37:16(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Originally Posted by: Joki720 Go to Quoted Post
Originally Posted by: PompelmoTell Go to Quoted Post
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 (6kb) downloaded 15 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Jean Giraud  
#12 Posted : 15 February 2020 18:10:50(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: mkraska Go to Quoted Post
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).
Offline Jean Giraud  
#13 Posted : 15 February 2020 23:54:43(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Always avoid ill posed polynomials.

ill posed.PNG
Offline Jouko  
#14 Posted : 16 February 2020 21:10:14(UTC)
Jouko

Rank: Newbie

Groups: Registered
Joined: 08/02/2020(UTC)
Posts: 3
South Africa
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.
Offline Jean Giraud  
#15 Posted : 17 February 2020 02:47:13(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jouko Go to Quoted Post
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).
Offline Jean Giraud  
#16 Posted : 17 February 2020 05:09:30(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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).
Offline Jean Giraud  
#17 Posted : 17 February 2020 15:35:01(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
... maybe we can leave it as such ... cleanup ?

Poverochnyjj raschjot ehzhektora [solve, spline].sm (111kb) downloaded 15 time(s).
Inst_Isentropic Discharge.sm (174kb) downloaded 20 time(s).
Users browsing this topic
Guest
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.