View Javascript Complex Maths Routines Source Code
Ian's Javascript Complex Exponential Series
Exponential /Sine/Cos Calculating Program
This program uses complex maths to calculate trignometric functions using
only + - *(times) and / (divide) arithmetic
operations.
(Version 4.1 5/9/16 for drop down menus works ok)
The horizontal scale of both the exponential curve and the sine and cos curves is the same
and is controlled by the sine/cos plotting period. There is a connection between the period
of the sine and cos curves and the exponential, which you will understand if you know about
complex exponential series.
(If the period is set too small the curve breaks down as the series sum overflows.)
The vertical scale of the sine and cos curves and the exponential curve is different, and is set in pixels per mathematical unit.
demo10 text