2
$\begingroup$

For the equation $x\sqrt{200-x^2}$, when I insert $\sqrt{200}$ for $x$, desmos says the output is undefined. But how can this be? The output is zero algebraically.

$\endgroup$

closed as off-topic by postmortes, Adrian Keister, Paul Frost, mihaild, Parcly Taxel Jul 6 at 8:07

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question is not about mathematics, within the scope defined in the help center." – postmortes, Paul Frost, mihaild, Parcly Taxel
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ It must be an issue with desmos. I tried different values instead of 200 and instead of 0 it gives me "undefined", "0" or supersmall number $\endgroup$ – Mihail Jul 5 at 11:12
6
$\begingroup$

This seems like the wrong place to ask this: a desmos forum or maybe stackexchange.com itself would probably get you better answers.

As a guess though: when desmos calculates $\sqrt{200}$ it will round that to some precision (say 15 decimal places) and when it squares it again, it may use just that rounded number. In which case, the result could be slightly larger than $200$ so that it then has to try and take the square root of a negative number (e.g. $\sqrt{(200-200.00000000000191)}$) and that's what's giving you "undefined" as your answer.

But... a desmos forum would be a better place to ask; and programming forums like stackexchange may have better guesses than us mathematicians....

$\endgroup$
2
$\begingroup$

It is a rounding error issue: in this Desmos graph you see that the radicand is slightly negative: $f(\sqrt{200}) = −2.842170943×10^{−14}$. This happens due to limited precision of floating point numbers.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.