Browse Search Popular Register Upload Rules User list Login:
Search:
CORDIC sine/cosine algorithm I invented (Which is cheap! :3)

Image:
screenshot of the scene

Author: UnityDogGaming04

Group: Default

Filesize: 16.53 kB

Date added: 2024-09-06

Rating: 5

Downloads: 346

Views: 173

Comments: 5

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

An idea for a sine and cosine algorithm occured to me the other day, so I tried it out by hand, then tested it in python, and it works!
I believe it falls into the category of CORDIC algorithms, iterative algorithms that exponentially approach the correct answer. This means it has an additional parameter that controls how many times to iterate, and therefore, how accurate the answer must be.

Scene explains how it works, and has a function for the 0°-90° range ready to go.
Last edited at 2024/09/10 20:12:12 by UnityDogGaming04
Please log in to rate this scene
edit
Similar scenes
Title: Sine, Cosine and Tangent visualized, in a different way
Rating: 5.625
Filesize: 9 kB
Downloads: 362
Comments: 1
Ratings: 2
Date added: 2023/11/03 10:53:11
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: Sine, Cosine and Tangent visualized
Rating: 5.5
Filesize: 13.21 kB
Downloads: 385
Comments: 1
Ratings: 2
Date added: 2023/10/18 07:52:03
Made with: Algodoo v2.1.0
Rating: rated 5.5
download
Title: Cosine Wave
Rating: 5
Filesize: 26.6 kB
Downloads: 480
Comments: 0
Ratings: 1
Date added: 2017/11/12 02:10:45
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: MIRROR IMAGE V2
Rating: 5
Filesize: 79.95 kB
Downloads: 452
Comments: 1
Ratings: 1
Date added: 2013/08/18 19:13:13
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Simple cosine, sine, and tangent wave generators
Rating: 5
Filesize: 7.03 kB
Downloads: 266
Comments: 2
Ratings: 1
Date added: 2016/05/29 07:06:28
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: NEW ENGINE I INVENTED I INVENTED A BRAND NEW ENGINE ITS HISTORY!
Rating: 5
Filesize: 18 kB
Downloads: 350
Comments: 4
Ratings: 1
Date added: 2013/10/14 00:11:58
Made with: Algodoo v2.1.0
Rating: rated 5
download
This is cool! Would it be possible to make a scene detailing a square root algorithm? Bonus points if it works for all radicals and not just square roots. :lol: :lol: :lol:
When I run the simulation, the entire thing flies apart and falls down into the infinite depths of Algodoo never-land. What went wrong? :s
Oh right, it's not exactly a scene to /run/, the real asset is the algorithm, and the understanding on how it works.
Implementing Taylor Series for sine and cosine in C also accomplishes the same result, but I like the thought behind, and the brevity of, your algorithm.
Last edited at 2024/09/11 10:09:29 by s_noonan
:3