Skip to main content
15-Moonstone
December 13, 2022
Solved

Looking for real zeros

  • December 13, 2022
  • 3 replies
  • 2845 views

MathCad 14 factored the function sinx(x). It is known from other investigations that this function has only real zeros. If you now look for the zeros of each factor (the terms are in parentheses), then MathCad calculates complex zeros that cannot be simplified. Where is the saw stuck here 😉 .

Kind regards, Alfred Flasshaar

Best answer by Werner_E

In the sheet you attached I can find no attempts to find any zeros!

 

Mathcad often displays real numbers using expressions with the imaginary unit. Nonetheless those expressions are real numbers as you can confirm by using "float" or numeric evaluation:

Werner_E_0-1670969559639.png

Actually the first solution

Werner_E_1-1670970126594.png

is equivalent to

Werner_E_2-1670970153145.png

but I have no algebraic expression without using the imaginary unit at hand.

 

 

3 replies

23-Emerald IV
December 13, 2022

The saw is stuck at numerical precision when calculating numerical results, even from symbolic expressions. I get all real results, sometimes with an imaginary part that is below numerical precision. That is: where the real part is in the order of 1, the imaginary part is in the order of 10^-19  to 10^-21. You can/should discard such imaginary parts.

(Forum doesn't let me insert pictures, alas)

 

Success!
Luc

 

15-Moonstone
December 14, 2022

Then MathCad isn't that precise with algebra (Galois, Rufini, ...)? In the complex plane, a number is to be regarded as real from arithmetic point of view if it is not only represented exactly on the x-axis, but is also contained in an x-strip of finite but small width along the x-axis. That takes some getting used to for me.

BTW:
I'm not familiar with the rules of the PTC forum, although I've been using MathCad since version 6 and haven't updated it since 14. Where can I find rules? Dumb question: what are "kudos"?

Greetings Alfred

23-Emerald IV
December 14, 2022

There are no dumb questions.

 

From the Oxford dictionary:

kudos
/ˈkjuːdɒs/
  1. praise and honour received for an achievement.
    "she was looking for kudos rather than profit"
     
    On this forum you can give Kudos to reactions that you like.
    Also it is appreciated that you select an answer as being the solution to your question.
     
    Success!
    Luc

Werner_E25-Diamond IAnswer
25-Diamond I
December 13, 2022

In the sheet you attached I can find no attempts to find any zeros!

 

Mathcad often displays real numbers using expressions with the imaginary unit. Nonetheless those expressions are real numbers as you can confirm by using "float" or numeric evaluation:

Werner_E_0-1670969559639.png

Actually the first solution

Werner_E_1-1670970126594.png

is equivalent to

Werner_E_2-1670970153145.png

but I have no algebraic expression without using the imaginary unit at hand.

 

 

23-Emerald IV
December 13, 2022

This is as close as I get:

LucMeekes_0-1670970895524.png

Luc

25-Diamond I
December 13, 2022

@LucMeekes wrote:

This is as close as I get:

LucMeekes_0-1670970895524.png

Luc


Yes, but Mathcad is just applying the elementary equation

Werner_E_2-1670972090769.png

neither algebraic nor avoiding the imaginary unit.

In MC15 it something similar can be achieved with

Werner_E_1-1670971867980.png

I am not sure if a simple pure algebraic expression could be found.

20-Turquoise
December 14, 2022

It seems to be:

1.PNG

Best Regards.

20-Turquoise
December 14, 2022