Solve equation - "no real roots" result

Solve equation - "no real roots" result - Messaggi

#1 Pubblicato: 27/02/2018 07:10:25
joao sousa

joao sousa

0 apprezzamenti in 4 post.

Gruppo: User

Howdy,

I am relatively new to SMath (have used Mathcad in the past). I am trying to use SMath to run some engineering calculations. Particularly, I am interested in solving equations - I have used 'solve' function, but always get a "no real roots" message (see file attached).

Can someone help out?

Many thanks in advance!

J
#2 Pubblicato: 27/02/2018 10:44:46
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

I am relatively new to SMath (have used Mathcad in the past). I am trying to use SMath to run some engineering calculations. Particularly, I am interested in solving equations - I have used 'solve' function, but always get a "no real roots" message (see file attached).

Can someone help out?

Many thanks in advance!


Solving means a lot in Engineering works.
No real roots, indicates the solver is ill posed [generally]
Please, don't hesitate to post your problem, there is great expertise in Smath Community.

Maths bitcoin.sm (36,43 KiB) scaricato 1550 volta(e).
Solve General.sm (138,6 KiB) scaricato 1600 volta(e).
Solve TREASURY_0 [General].sm (119,73 KiB) scaricato 1376 volta(e).

#3 Pubblicato: 27/02/2018 13:47:20
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: Moderator

Probably are you using the solve(2) function instead of the the solve(4) one (4 arguments, last 2 are the limits of the range where to search the roots)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#4 Pubblicato: 27/02/2018 14:03:47
joao sousa

joao sousa

0 apprezzamenti in 4 post.

Gruppo: User

Many thanks ALL for your valuable responses. While I understand what you are saying/showing on your templates, I still haven't managed to figure out what is wrong with the way the solve function is being employed. I have changed the roots range (-100, +100), tried the solve with 4arguments, and still nothing. Is there any chance someone could have a look at the file I have attached originally?

Many thanks,
J
#5 Pubblicato: 27/02/2018 14:40:57
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: Moderator

Wrote

Is there any chance someone could have a look at the file I have attached originally?



There aren't attachments in your posts

Citazione

  1. 2018-02-24 19_32_16-Edit post.png

  2. 2018-02-24 19_32_34-Edit post.png

  3. 2018-02-24 19_32_44-Nessun file selezionato..png

  4. 2018-02-24 19_33_24-Edit post.png

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Pubblicato: 27/02/2018 15:37:49
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Is there any chance someone could have a look at the file I have attached originally?


There is no *.sm document attached !

#7 Pubblicato: 27/02/2018 17:10:19
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

OVNIsolve.PNG
#8 Pubblicato: 02/03/2018 09:46:16
joao sousa

joao sousa

0 apprezzamenti in 4 post.

Gruppo: User

(Please ignore my post below - I can see the files have been uploaded after all b)

Iff someone could have a look at the .sm file I have attached, I would be very grateful.

Many thanks,
Joao

SMath_equation solver test.zip (1,59 KiB) scaricato 581 volta(e).

SMath_equation solver test.sm (8,23 KiB) scaricato 1554 volta(e).

SMath_equation solver test.sm (8,23 KiB) scaricato 1510 volta(e).

Hi ALL,

Many thanks for you interest and responses. Apologies for not having responded but I have been away from the office. I am trying to attach an .sm file, but for some reason this is not working... Any thoughts?

Thanks,
Joao
#9 Pubblicato: 02/03/2018 10:31:55
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Will be back later during the day
#10 Pubblicato: 02/03/2018 14:16:58
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: Moderator

solvers.png
solvers.sm (17,78 KiB) scaricato 1539 volta(e).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
6 utenti hanno apprezzato questo post
Serg 02/03/2018 14:59:00, frapuano 02/03/2018 16:23:00, sergio 02/03/2018 17:20:00, NDTM Amarasekera 02/03/2018 22:20:00, Fridel Selitsky 02/03/2018 23:11:00, Radovan Omorjan 03/03/2018 05:28:00
#11 Pubblicato: 03/03/2018 10:59:27
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Iff someone could have a look at the .sm file I have attached, I would be very grateful.



"NO real roots" from the solve bloc is an absolute pest [not to say stupid].

SolveWisely.PNG

SMath_equation solver test (1).sm (11,49 KiB) scaricato 1487 volta(e).

#12 Pubblicato: 07/03/2018 07:18:35
joao sousa

joao sousa

0 apprezzamenti in 4 post.

Gruppo: User

Dear ALL,

Many thanks for your incredible support! I am in awe for the depth of knowledge herein displayed.

With regards to your responses, I appreciate the need to make an appropriate substitution to overcome the fact that solve can't handle units in the variable; However, I can´t seem to assign the unit to the variable, within the equation (apologies for being thick). I've tried typing x'm, tried using ctrl+w to assign meters unit to x, but still haven't managed to make it work. A bit frustrating... If anyone could be so kind to shed some light here, that would be greatly appreciated.

Many thanks,
J
#13 Pubblicato: 07/03/2018 13:08:03
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: Moderator

Wrote

Dear ALL,

Many thanks for your incredible support! I am in awe for the depth of knowledge herein displayed.

With regards to your responses, I appreciate the need to make an appropriate substitution to overcome the fact that solve can't handle units in the variable; However, I can´t seem to assign the unit to the variable, within the equation (apologies for being thick). I've tried typing x'm, tried using ctrl+w to assign meters unit to x, but still haven't managed to make it work. A bit frustrating... If anyone could be so kind to shed some light here, that would be greatly appreciated.

Many thanks,
J





Type x*'m or x* and then insert the unit from the dialog into the empty placeholder in the right of the multiplication dot.

Multiplication operators in front of units aren't shown.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#14 Pubblicato: 08/03/2018 01:50:22
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Many thanks for your incredible support! I am in awe for the depth of knowledge herein displayed.

With regards to your responses, I appreciate the need to make an appropriate substitution to overcome the fact that solve can't handle units in the variable; However, I can´t seem to assign the unit to the variable, within the equation (apologies for being thick). I've tried typing x'm, tried using ctrl w to assign meters unit to x, but still haven't managed to make it work. A bit frustrating... If anyone could be so kind to shed some light here, that would be greatly appreciated.



You are debating with the Unit SI as implemented in Smath [Mathcad ...]
You may pacify your soul on several counts:
1. maths are unit less
2. ISO standards have their own units [most generally from SI derived units].
... therefore converting automatically bar in Pa ... etc.
3. Engineering formulas are constructed around the appropriate Units
... therefore no need to freak them more.
4. Consider this example: you have a formula, from which you can directly/indirectly
compute the arc length ... in what SI units Watson ???
... simple Sherlook ... in "UnitGraphic" that you can meter in year-light/micrometer ...
5. How did we do in the age of the slide rule, in the age of paper/pencil/log tables ?
6. Was Sputnik launched from SI unit software ?
#15 Pubblicato: 28/12/2019 22:19:53
jdoe1

jdoe1

0 apprezzamenti in 4 post.

Gruppo: User

I'm having a similar problem, it works on wolfram and symbolab, but not in Smath.



#16 Pubblicato: 28/12/2019 23:32:16
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

it works on wolfram and symbolab, but not in Smath.


Always plot first ...

Solve -Plot.PNG
#17 Pubblicato: 29/12/2019 21:09:09
jdoe1

jdoe1

0 apprezzamenti in 4 post.

Gruppo: User

Wrote

Wrote

it works on wolfram and symbolab, but not in Smath.


Always plot first ...

Solve -Plot.PNG



I somehow missed the option to use the 2nd solve function with root limit, but I didn't need a plot for this, so I used it in one line and everything worked out fine.

I can't click the thank button, so thanks.
#18 Pubblicato: 29/12/2019 23:01:26
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

I somehow missed the option to use the 2nd solve function with root limit, but I didn't need a plot for this, so I used it in one line and everything worked out fine.


If you don't plot, you will soon hit the wall.
That will help set the limits.
When applicable, "implicit roots" is often + accurate.

roots.PNG
  • Nuovi post
  • Nessun nuovo post