Jump to content
Sign in to follow this  
iblamefish

euler's identity is calculated incorrectly

Recommended Posts

Posted (edited)

To get the value of "e" you may want to type   =exp(1)

 

The imaginary number "i" is not supported in Alfred 4.

You can visit the calculator settings here: https://www.alfredapp.com/help/features/calculator/

 

If you want to use the math libraries of python (math, numpy) you can use this workflow:

http://www.packal.org/workflow/python-interpreter

 

Then,

 

pt    e**(1j*pi)            Gives:   (-1+1.2246467991473532e-16j)

pt real(e**(1j*pi))     Gives -1. 

 

 NOTE: 

1. In python 1j is imaginary number 1i. 

2. In python power operation is **

Edited by Bhishan

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  
×
×
  • Create New...