Solve() throws "No real roots"

Solve() throws "No real roots" - Polytropic Calculation - Messages

#1 Posted: 12/8/2017 2:59:19 PM
usamakhan

usamakhan

3 likes in 75 posts.

Group: 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 KiB) downloaded 76 time(s).
#2 Posted: 12/8/2017 4:11:08 PM
Arie

Arie

93 likes in 285 posts.

Group: 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 KiB) downloaded 93 time(s).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#3 Posted: 12/8/2017 11:05:48 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

solve command for polytropic compressor calculations fails.



construct the right way, like this.

Ioncube.sm (11 KiB) downloaded 163 time(s).
#4 Posted: 12/11/2017 1:29:36 PM
usamakhan

usamakhan

3 likes in 75 posts.

Group: 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 Posted: 12/11/2017 4:16:55 PM
Arie

Arie

93 likes in 285 posts.

Group: User

This is one way to do it. Page1 (2).sm (8 KiB) downloaded 100 time(s).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#6 Posted: 12/11/2017 5:52:04 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 62 time(s).
#7 Posted: 12/12/2017 11:34:50 AM
usamakhan

usamakhan

3 likes in 75 posts.

Group: 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
  • New Posts New Posts
  • No New Posts No New Posts