How to use the solve function in this task

How to use the solve function in this task - Messaggi

#1 Pubblicato: 02/06/2024 20:33:38
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

3-2-CoolProp-Solve.sm (46,14 KiB) scaricato 1623 volta(e).
#2 Pubblicato: 02/06/2024 22:24:24
ioan92

ioan92

181 apprezzamenti in 125 post.

Gruppo: User

Take care :

Your CoolProp function, as you write it, does not change the sign, between the two limits of the variable p :


2024-06-02 17_15_56-SMath Solver - [3-2-CoolProp-Solve.sm_].png
Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
1 utenti hanno apprezzato questo post
Valery Ochkov 02/06/2024 23:27:00
#3 Pubblicato: 02/06/2024 23:27:35
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

Thanks,
send please the sm-file with the solution

#4 Pubblicato: 03/06/2024 00:42:55
ioan92

ioan92

181 apprezzamenti in 125 post.

Gruppo: User

Hi,

The problem, as you formulated, seems as not having a solution in real numbers, in order to be solved with the solve routine.

I'm sorry but I have no time to reformulate your problem.

If you intend to solve it numerically, try to check the continuity of the function and the fact that in the range you look for solution there is at least one change of the function value sign.
Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
1 utenti hanno apprezzato questo post
Valery Ochkov 03/06/2024 00:59:00
#5 Pubblicato: 03/06/2024 01:46:02
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: Moderator

The problem as stated in the opening post, actually has a solution in the given range.

Yet, I don't see an alternative to using brute force to tame the coolprop function: sampling and interpolation.


File non trovato.File non trovato.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 utenti hanno apprezzato questo post
Valery Ochkov 03/06/2024 01:50:00
#6 Pubblicato: 03/06/2024 02:12:41
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Hi. The guess values, in this case the range, are part of the solution, this means that you must know where the numerical procedure works fine. In this case the interval 1 MPa ... 6 MPa.

root.png

3-2-CoolProp-Solve.sm (49,75 KiB) scaricato 1611 volta(e).

Best regards.
Alvaro.
#7 Pubblicato: 03/06/2024 10:47:51
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

Thanks, Martin and Alvaro
See please the problem in attach
Fireless-Locomotive.sm (882,15 KiB) scaricato 1639 volta(e).

PS
Alvaro!
And what about the book?
#8 Pubblicato: 03/06/2024 12:58:22
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Hi Valery. This could be an option.

diag.png

Fireless-Locomotive.sm (915,8 KiB) scaricato 1638 volta(e).

Wrote

...
PS
Alvaro!
And what about the book?



I'm pretty busy right now! Sorry.
Alvaro.
1 utenti hanno apprezzato questo post
Valery Ochkov 03/06/2024 16:04:00
#9 Pubblicato: 03/06/2024 16:29:42
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

It works! By p.0=240 atm
Fireless-Locomotive.sm (882,15 KiB) scaricato 1705 volta(e).
But by p.0=140 atm ---???

Alvaro>

Check please 1-2-3 chapters.
My student from Cuba is waiting for it!


#10 Pubblicato: 05/06/2024 21:16:15
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Wrote

... Check please 1-2-3 chapters.
My student from Cuba is waiting for it!



Hi Valery. I find it quite inappropriate that what is a voluntary collaboration helping on regarding a translation, and therefore supposedly free of commitment on both sides, is publicly claimed in the forum. This situation seems to reflect some type of irresponsibility on my part as I am failing to make some type of commitment, which, I insist, there is none. I would sincerely like to receive some kind of explanation as to why you are making a public complaint about a translation job on my part when there is no agreed commitment.

Best regards.
Alvaro.
#11 Pubblicato: 05/06/2024 23:25:56
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

Please forgive me, of course I'm wrong.
Regards,
Val

#12 Pubblicato: 06/06/2024 00:18:58
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Of course. He is already forgotten.

Best regards.
Alvaro.

  • Nuovi post
  • Nessun nuovo post