Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration result #945

Closed
arturrataj opened this issue Mar 14, 2024 · 1 comment
Closed

Integration result #945

arturrataj opened this issue Mar 14, 2024 · 1 comment

Comments

@arturrataj
Copy link

arturrataj commented Mar 14, 2024

Integrate(1*((x - 2.0)/(3.0))*(1/9.999999999998899E-4), {x, 3.0, 3.001})

Both https://symjaweb.appspot.com/ and Symja 3.0.0 give -0.00124335

WolframAlpha gives ~ 1/3 as expected

Integrate(1*((x - 2.0)/(3.0))*1000.00000000011, {x, 3.0, 3.001}) is virtually the same but this time Symja gives a correct value.

Java

  • Version 17
  • Ubuntu Ubuntu 22.04 LTS
@tranleduy2000
Copy link
Collaborator

tranleduy2000 commented Mar 14, 2024

@arturrataj The E symbol is treated as Euler constant, not a scientific notation.
Your input can be translated to, which gives correct answer:

Integrate(1*((x - 2.0)/(3.0))*(1/(9.999999999998899*10^-4)), {x, 3.0, 3.001})
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants