How to use the solve function in this task

How to use the solve function in this task - 消息

#1 已发布: 2024/6/2 20:33:38
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

3-2-CoolProp-Solve.sm (46.14 KiB)已下载 1637 次。
#2 已发布: 2024/6/2 22:24:24
ioan92

ioan92

181个赞,共124个帖子。

组: 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 2024/6/2 23:27:00
#3 已发布: 2024/6/2 23:27:35
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

Thanks,
send please the sm-file with the solution

#4 已发布: 2024/6/3 00:42:55
ioan92

ioan92

181个赞,共124个帖子。

组: 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 2024/6/3 00:59:00
#5 已发布: 2024/6/3 01:46:02
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: 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.


未找到文件。未找到文件。
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1位用户喜欢此帖子
Valery Ochkov 2024/6/3 01:50:00
#6 已发布: 2024/6/3 02:12:41
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: 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)已下载 1623 次。

Best regards.
Alvaro.
#7 已发布: 2024/6/3 10:47:51
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

Thanks, Martin and Alvaro
See please the problem in attach
Fireless-Locomotive.sm (882.15 KiB)已下载 1658 次。

PS
Alvaro!
And what about the book?
#8 已发布: 2024/6/3 12:58:22
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Hi Valery. This could be an option.

diag.png

Fireless-Locomotive.sm (915.8 KiB)已下载 1655 次。

Wrote

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



I'm pretty busy right now! Sorry.
Alvaro.
1位用户喜欢此帖子
Valery Ochkov 2024/6/3 16:04:00
#9 已发布: 2024/6/3 16:29:42
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

It works! By p.0=240 atm
Fireless-Locomotive.sm (882.15 KiB)已下载 1715 次。
But by p.0=140 atm ---???

Alvaro>

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


#10 已发布: 2024/6/5 21:16:15
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: 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 已发布: 2024/6/5 23:25:56
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

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

#12 已发布: 2024/6/6 00:18:58
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Of course. He is already forgotten.

Best regards.
Alvaro.

  • 有新帖
  • 无新帖