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: 345

Views: 172

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 and Cosine visualized
Rating: 5
Filesize: 45.89 kB
Downloads: 1174
Comments: 18
Ratings: 1
Date added: 2022/09/05 04:41:07
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Cosine Wave
Rating: 5
Filesize: 26.6 kB
Downloads: 478
Comments: 0
Ratings: 1
Date added: 2017/11/12 02:10:45
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Tower Takedown (Algodecathlon Day 9)
Rating: 5
Filesize: 44.04 kB
Downloads: 2248
Comments: 3
Ratings: 1
Date added: 2023/06/26 12:00:11
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: Two trigonometric functions: sine & cosine
Rating: 5.375
Filesize: 17.53 kB
Downloads: 452
Comments: 2
Ratings: 2
Date added: 2010/02/08 14:55:49
Made with: Algodoo before v1.8.5
Rating: rated 5.4
download
Title: NEW ENGINE I INVENTED I INVENTED A BRAND NEW ENGINE ITS HISTORY!
Rating: 5
Filesize: 18 kB
Downloads: 346
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