cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are aware of an issue causing intermittent login problems for some users following a recent update. Learn More

Translate the entire conversation x

how to finish the input for Euler's formula expression

ZZ_13027099
2-Explorer

how to finish the input for Euler's formula expression

Say, if I want to define the expression of Euler's formula below in Mathcad, how should I finish the input for that?

ZZ_13027099_0-1756561160071.png

 

ACCEPTED SOLUTION

Accepted Solutions

Now I've opened up my laptop ...

 

2025 08 30 A.png

 

Stuart

View solution in original post

4 REPLIES 4
Werner_E
25-Diamond I
(To:ZZ_13027099)

You don't have to define the formula as Mathcad and also Prime are aware of it.

And what do you mean by  "finish the input" ?

Werner_E_0-1756562603536.png

 

As you see in the picture, the imaginary unit must be input as "1i" (without the quotes and without a multiplication in-between).

Unfortunately in Prime the imaginary unit is also shown that way. That's nicer looking in old Mathcad (here MC15 in the pic)

Werner_E_0-1756562889841.png

 

 

As Werner says, Mathcad is already aware of the relationship - Mathcad numbers are complex by default and many functions are complex-aware.

 

However, if you wanted to define your own Euler equation, then you can do so as follows:

 

E(x) := cos(x) + 1i*sin(x)

 

where x is real.

 

Euler deserves a capital, and it avoids confusion with the built in exponent function.

 

Stuart

Now I've opened up my laptop ...

 

2025 08 30 A.png

 

Stuart

Appreciate it a lot, it's so clear to my confusion.

Announcements


Top Tags