i found this github site that had a yolol code for figuring the cosine value with an advanced chip, as professional chips are not really in game yet...
github.com/CylonSB/Scripts/tree/master/Scripts/Cosine%20(Basic%20Chip)
// This line sets up some constants. It must be run before the next
//...