Solve() throws "No real roots"

Solve() throws "No real roots" - Polytropic Calculation - 消息

#1 已发布: 2017/12/8 14:59:19
usamakhan

usamakhan

7个赞,共98个帖子。

组: User

I am using the latest version of Smath Studio & have seen many other threads on this forum regarding similar issue. I don't want to use xMaxima addin because of portability issue with Maxima distribution. If some however can provide a link to portable Maxima package it will be greatly appreciated

Coming back to the issue please see the attach file as my solve command for polytropic compressor calculations fails. Equations does include units ...from a preview (tooltip) of eq2 I see no problem but solve() throws error



Page1.sm (7.77 KiB)已下载 1389 次。
#2 已发布: 2017/12/8 16:11:08
Arie

Arie

94个赞,共285个帖子。

组: User

You really don't need to use the solve function here as you already have an expression for power. Consider pre-defining eq.2 and simply evaluating it as needed as shown in attached. Page1.sm (9.83 KiB)已下载 1512 次。
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#3 已发布: 2017/12/8 23:05:48
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

solve command for polytropic compressor calculations fails.



construct the right way, like this.

Ioncube.sm (11.16 KiB)已下载 1324 次。
#4 已发布: 2017/12/11 13:29:36
usamakhan

usamakhan

7个赞,共98个帖子。

组: User

Thanks for the great help guys. Much appreciated. Can I ask one more thing (because I have prior experience to Geogebra)

In my file lets assume that I want to see the effect of increasing T2 upon CompressorPower as well as Efficiency ....a graph will suffice! Back in Geogebra I would have created a list of T2 (from say 160 to 300 with 10 as increment) & would get the calculated parameters also in a list ...these lists will then be converted to coordinates (x,y via list to matrix manipulation) & will be ready for plot
#5 已发布: 2017/12/11 16:16:55
Arie

Arie

94个赞,共285个帖子。

组: User

This is one way to do it. Page1 (2).sm (8.31 KiB)已下载 1473 次。
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#6 已发布: 2017/12/11 17:52:04
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

In my file lets assume that I want to see the effect of increasing T2



Just like this => solve for n as many as you wish
Administrate the remaining of the project at will wrt those n

Cheers mon ami.

Ioncube.sm (17.26 KiB)已下载 1209 次。
#7 已发布: 2017/12/12 11:34:50
usamakhan

usamakhan

7个赞,共98个帖子。

组: User

Thank you alyles & Jean, I am really liking it more than even my favorite Geogebra

Jean can you please explain a bit more about this portion

http://prntscr.com/hmhz8g
  • 有新帖
  • 无新帖