05-23-2020, 08:28 AM
(This post was last modified: 05-23-2020, 08:43 AM by _Mystery_Man.)
Hello, The first project I have worked on as I became builder, is a concept for calculating sine and cosine using the Taylor series polynomials. The machine calculates enough terms to be 4 decimal places accurate most of the time, which is probably enough accuracy for graphing.
The total calculation takes 1 min and 15 secs approximately, and that is for the sine and cosine being generate side by side.
The attachment is an image of the device. Since I used serial based multiplication, I was able to compact this device a bit and still get good speed to calculating each term of the polynomials.
I understand that I could have used the coordinate rotation digital computer algorithm, however it is actually less reasonable in this case. video sort explains my thoughts of the matter XD
now due to the nature of it being a periodic function, I actually can extract 8 points with just 1 pair using a side algorithm to convert the coordinates by changing the sign to negative and switch the sine and cosine for complementary use.
Demo of the device
The total calculation takes 1 min and 15 secs approximately, and that is for the sine and cosine being generate side by side.
The attachment is an image of the device. Since I used serial based multiplication, I was able to compact this device a bit and still get good speed to calculating each term of the polynomials.
I understand that I could have used the coordinate rotation digital computer algorithm, however it is actually less reasonable in this case. video sort explains my thoughts of the matter XD
now due to the nature of it being a periodic function, I actually can extract 8 points with just 1 pair using a side algorithm to convert the coordinates by changing the sign to negative and switch the sine and cosine for complementary use.
Demo of the device