View Javascript Complex Maths Routines Source Code
Ian's Javascript Complex Exponential Series
Exponential /Sine/Cos Calculating Program
This is now near release standard code
after I tidied it up 16/10/25.
This included putting the functions in
a better order, putting in comments,
and deleting redundant code.
This task is not quite complete.
All code and comments
Copyright Ian Poumcy 16/10/24
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