Complex Number

Issue #767 new
Former user created an issue

(4e^(35°j))^2/(8e^(190°j)) = 1,62836194105312353581-1,16122236842462857856j says speedcrunch. but the correct result is (4e^(35°j))^2/(8e^(190°j)) = -1 - sqrt(3).

Comments (1)

  1. Pol Welter

    35° does not mean what you think it means. The ° is just ignored by SC. Since exp assumes that complex arguments are expressed in rads, the result is not what you expect. Instead, to express degrees, you need to write 35 degree.

    (4e^(35 degree j))^2/(8e^(190 degree j))
    = -1-1,73205080756887729353j
    

    I am leaving the issue open, as we may want to investigate ° as an alias for degree.

  2. Log in to comment