dredds 2019-05-18 11:42
There’s an ATAN function but not ACOS & ASIN. Is there a way to calculate those from ATAN? If not, could we get ACOS & ASIN in a future release?
Timo 2019-05-18 12:42
I took the math functions from the original BASIC, I guess there is a way to calculate these values. But I had to google it. If it’s complicated then I could add new functions, yes.
dredds 2019-05-18 13:52
It would be good to define ACOS and ASIN, especially as lowres basic does not support user defined functions (like DEF used to in Sinclair BASIC)
was8bit 2019-05-19 05:25
ATAN,ACOS,ASIN are just different ways to find the angle...
Check out this...
ATAN is sufficient if you just substitute with what you know into ATAN
Mrlegoboy 2019-05-19 05:57
Timo, for reasons im not sure how to explain, please don’t impliment this, and if you do impliment this, for the love of god do NOT make it throw an error every time you give it something out of bounds. I’ll make a Subprogram for this.
Timo 2019-05-19 08:35
I'll have a look on these functions. Even some BASICs had ASIN. And I'll think again about DEF FN to define own one-line functions, it's part of the original BASIC...
Timo 2019-06-15 11:14
Coming in the next update (core v0.15):
ASIN, ACOS, HSIN, HCOS, HTAN
was8bit 2019-06-15 16:17
Oooooo, coool :D