Solve equation - "no real roots" result

Solve equation - "no real roots" result - 消息

#1 已发布: 2018/2/27 07:10:25
joao sousa

joao sousa

0个赞,共4个帖子。

组: 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 已发布: 2018/2/27 10:44:46
Jean Giraud

Jean Giraud

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

组: 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)已下载 1557 次。
Solve General.sm (138.6 KiB)已下载 1608 次。
Solve TREASURY_0 [General].sm (119.73 KiB)已下载 1389 次。

#3 已发布: 2018/2/27 13:47:20
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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 已发布: 2018/2/27 14:03:47
joao sousa

joao sousa

0个赞,共4个帖子。

组: 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 已发布: 2018/2/27 14:40:57
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

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

引用

  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 已发布: 2018/2/27 15:37:49
Jean Giraud

Jean Giraud

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

组: 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 已发布: 2018/2/27 17:10:19
Jean Giraud

Jean Giraud

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

组: User

OVNIsolve.PNG
#8 已发布: 2018/3/2 09:46:16
joao sousa

joao sousa

0个赞,共4个帖子。

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

SMath_equation solver test.sm (8.23 KiB)已下载 1562 次。

SMath_equation solver test.sm (8.23 KiB)已下载 1522 次。

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 已发布: 2018/3/2 10:31:55
Jean Giraud

Jean Giraud

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

组: User

Will be back later during the day
#10 已发布: 2018/3/2 14:16:58
Martin Kraska

Martin Kraska

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

组: Moderator

solvers.png
solvers.sm (17.78 KiB)已下载 1549 次。
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
6位用户喜欢此帖子
Serg 2018/3/2 14:59:00, frapuano 2018/3/2 16:23:00, sergio 2018/3/2 17:20:00, NDTM Amarasekera 2018/3/2 22:20:00, Fridel Selitsky 2018/3/2 23:11:00, Radovan Omorjan 2018/3/3 05:28:00
#11 已发布: 2018/3/3 10:59:27
Jean Giraud

Jean Giraud

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

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

#12 已发布: 2018/3/7 07:18:35
joao sousa

joao sousa

0个赞,共4个帖子。

组: 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 已发布: 2018/3/7 13:08:03
Martin Kraska

Martin Kraska

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

组: 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 已发布: 2018/3/8 01:50:22
Jean Giraud

Jean Giraud

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

组: 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 已发布: 2019/12/28 22:19:53
jdoe1

jdoe1

0个赞,共4个帖子。

组: User

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



#16 已发布: 2019/12/28 23:32:16
Jean Giraud

Jean Giraud

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

组: User

Wrote

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


Always plot first ...

Solve -Plot.PNG
#17 已发布: 2019/12/29 21:09:09
jdoe1

jdoe1

0个赞,共4个帖子。

组: 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 已发布: 2019/12/29 23:01:26
Jean Giraud

Jean Giraud

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

组: 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
  • 有新帖
  • 无新帖