solve small numbers

solve small numbers - trying to solve an equation with small number solution - 消息

#1 已发布: 2023/11/1 21:42:25
elis02

elis02

0个赞,共1个帖子。

组: User

test_s_math.sm (9.3 KiB)已下载 1479 次。

Hi I'm trying to solve an equation (see in the attached file) where the solution , the number should be small but for some reason which i can't understand , the app doesn't provide me a solution.
Why is that?

P.S
I'm new to Smath but it seems like it can help a lot with calculations.
#2 已发布: 2023/11/1 23:59:25
Oscar Campo

Oscar Campo

135个赞,共309个帖子。

组: Moderator

Hi Elis02,
Native solve() is nota robust solver, so it's convenient use functions as Solve() from Maxima plugin or FindRoot() from Non Linear Solvers plugin.

You need provide a value to x(t) for asking for a value of t that satisfies the equation, in the form "x(t)=k, t" where k is the value you expect obtain when replace for t:

solverIssue.png

Best,
Oscar
#3 已发布: 2023/11/2 00:09:46
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Numeric solvers don't like units.
Either don't use them or add units to solvers.
Entering a range/interval will help for solve().
Findroot() won't need unit addition btw.

Regards

test_s_math_solved.sm (12.16 KiB)已下载 1464 次。

2023-11-01_20-07.png
2位用户喜欢此帖子
Oscar Campo 2023/11/2 00:13:00, NDTM Amarasekera 2023/11/2 19:07:00
#4 已发布: 2023/11/3 02:32:22
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Jean has ignored units, manually input E1.
As usual, these made him totally wrong.
He doesn't have correct answer.

This is Jean's plot;
2023-11-02_22-27.png

This what it should be;
2023-11-02_22-26.png

If you don't know, then don't say.
Your mistakes are harming this community.
3位用户喜欢此帖子
Alvaro 2023/11/3 02:50:00, Oscar Campo 2023/11/3 05:24:00, NDTM Amarasekera 2023/11/3 09:00:00
#5 已发布: 2023/11/3 17:09:30
Jean Giraud

Jean Giraud

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

组: User

Windows handles arithmetic [+,-,*,/] in the range 10^ ± 307.
Your ^-19 is so small that the quadratic term vanishes.
What's left is the linear term and the shift system.
On the other hand, some function may be granular.
Granular in the sense that they many not compute exactly.
The one best known from Mathematica.
Jean
#6 已发布: 2023/11/3 18:17:56
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Wrote

Windows handles arithmetic [+,-,*,/] in the range 10^ ± 307.
Your ^-19 is so small that the quadratic term vanishes.


No it doesn't vanishes.
You are simply not capable to work with units.
Anything involves physical quantities, you are wrong there.
This is not the first you act like a buffoon.
You couldn't write a simple formula, admit it.
In fact, you are a horribly wretched engineer.

Jean, look and learn. This is how you eliminate units.
Btw, why did you delete all your meaningless replies?

2023-11-03_14-16.png

Can you see the problem Jean?
You forgot your unit conversions.
m_Ar and E1 needs magick numbers in your approach.
If you would capable to work with units, no coefficients needed.
Everything is simple, clean, easier to apprehend, much easier to manipulate with units.
2位用户喜欢此帖子
Oscar Campo 2023/11/3 23:30:00, Alvaro 2023/11/4 00:16:00
  • 有新帖
  • 无新帖