Solve() throws "No real roots"

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

#1 Pubblicato: 08/12/2017 14:59:19
usamakhan

usamakhan

7 apprezzamenti in 97 post.

Gruppo: 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) scaricato 1370 volta(e).
#2 Pubblicato: 08/12/2017 16:11:08
Arie

Arie

94 apprezzamenti in 285 post.

Gruppo: 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) scaricato 1491 volta(e).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#3 Pubblicato: 08/12/2017 23:05:48
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

solve command for polytropic compressor calculations fails.



construct the right way, like this.

Ioncube.sm (11,16 KiB) scaricato 1311 volta(e).
#4 Pubblicato: 11/12/2017 13:29:36
usamakhan

usamakhan

7 apprezzamenti in 97 post.

Gruppo: 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 Pubblicato: 11/12/2017 16:16:55
Arie

Arie

94 apprezzamenti in 285 post.

Gruppo: User

This is one way to do it. Page1 (2).sm (8,31 KiB) scaricato 1453 volta(e).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#6 Pubblicato: 11/12/2017 17:52:04
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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) scaricato 1196 volta(e).
#7 Pubblicato: 12/12/2017 11:34:50
usamakhan

usamakhan

7 apprezzamenti in 97 post.

Gruppo: 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
  • Nuovi post
  • Nessun nuovo post