I need to know the real way to do this. BING AI and ChatGPT keep giving me different solutions, and only this last one works. Or seems to work.
I was amused that the BING AI suggested using DEF FN to create this function on a BASIC without LN.
DEF FNLN(x) =LOG(x) / LOG(2.71828)
Changing the X to uppercase allows this to work on the CoCo. The results are close — are they close enough? Would more decimal places in the LOG value help?
Where are the math people?