How to input complex number in polar coordinate?

julia> 25 * cis(deg2rad(10))
24.6201938253052 + 4.341204441673258im

using cis and deg2rad (see also rad2deg).

3 Likes