How to use the solve function in this task

How to use the solve function in this task - Сообщения

#1 Опубликовано: 02.06.2024 20:33:38
Valery Ochkov

Valery Ochkov

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

Группа: User

3-2-CoolProp-Solve.sm (46 КиБ) скачан 64 раз(а).
#2 Опубликовано: 02.06.2024 22:24:24
ioan92

ioan92

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

Группа: 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 пользователям понравился этот пост
Valery Ochkov 02.06.2024 23:27:00
#3 Опубликовано: 02.06.2024 23:27:35
Valery Ochkov

Valery Ochkov

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

Группа: User

Thanks,
send please the sm-file with the solution

#4 Опубликовано: 03.06.2024 00:42:55
ioan92

ioan92

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

Группа: 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 пользователям понравился этот пост
Valery Ochkov 03.06.2024 00:59:00
#5 Опубликовано: 03.06.2024 01:46:02
Martin Kraska

Martin Kraska

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

Группа: 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.


Файл не найден.Файл не найден.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
Valery Ochkov 03.06.2024 01:50:00
#6 Опубликовано: 03.06.2024 02:12:41
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: 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 КиБ) скачан 63 раз(а).

Best regards.
Alvaro.
#7 Опубликовано: 03.06.2024 10:47:51
Valery Ochkov

Valery Ochkov

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

Группа: User

Thanks, Martin and Alvaro
See please the problem in attach
Fireless-Locomotive.sm (882 КиБ) скачан 52 раз(а).

PS
Alvaro!
And what about the book?
#8 Опубликовано: 03.06.2024 12:58:22
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Hi Valery. This could be an option.

diag.png

Fireless-Locomotive.sm (915 КиБ) скачан 61 раз(а).

Wrote

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



I'm pretty busy right now! Sorry.
Alvaro.
1 пользователям понравился этот пост
Valery Ochkov 03.06.2024 16:04:00
#9 Опубликовано: 03.06.2024 16:29:42
Valery Ochkov

Valery Ochkov

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

Группа: User

It works! By p.0=240 atm
Fireless-Locomotive.sm (882 КиБ) скачан 58 раз(а).
But by p.0=140 atm ---???

Alvaro>

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


#10 Опубликовано: 05.06.2024 21:16:15
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: 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 Опубликовано: 05.06.2024 23:25:56
Valery Ochkov

Valery Ochkov

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

Группа: User

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

#12 Опубликовано: 06.06.2024 00:18:58
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Of course. He is already forgotten.

Best regards.
Alvaro.

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений