numworks / epsilon

Modern graphing calculator operating system.
https://www.numworks.com/resources/engineering/software/
1.75k stars 463 forks source link

Tableau de valeur et valeur exactes / Fraction and exact values error #2114

Open glyj opened 10 months ago

glyj commented 10 months ago

Description du bug

Une fonction rationnelle du type x |-> (3x-4)/(x^2+1) donnera f(-1/3)=-9/2 dans le module de calcul, mais dans le grapheur avec le mode calcul exact donnera une fraction du type -(499999 000000/111 11 08889)

The function f: x |-> (3x-4)/(x^2+1) gives f(-1/3)=-9/2 in the calculus app, but with the graph app (exact results) it gives -(499999 000000/111 11 08889)

Captures d'écran

image

image

Reproduction

Étapes pour reproduire l'erreur:

  1. dans l'application grapheur : entrer la fonction x|-> (3x-4)/(x^2+1)
  2. dans l'onglet Tableau, choisir la valeur -1/3 pour x
  3. activer les résultats exacts
  4. on obtient une fraction du type - 49999000000/1111110888889

Expected behavior

résultat attendu : -9/2

expected result : -9/2

Environment

artaxxx commented 10 months ago

Indeed, it's because the value of x is not exact in the table. It's in our plans for the future