c3d / db48x

RPL runtime for the DM42 calculator, in the spirit of HP48/49/50
http://48calc.org
GNU Lesser General Public License v3.0
114 stars 14 forks source link

The FANNING factor use LOG10 instead of LOG (erroneously equivalent to LN here !?) #1355

Open Wiljea opened 1 week ago

Wiljea commented 1 week ago

With the calculation of sound pressure level with the following eqn: "'(βdB)=10*LOG((I(W/(m^2)))/(ⒸI0))' "

I was unable to obtain any sensible result. Reason: contrary to the HP50g, DB48X calculates LOG as LN and not as the usual convention of a logarithm in base 10. If we maintain this we have to explicitly write "LOG10" to be precise. BUT if we want to maintain some compatibility with HP50g, I think that LOG should design LOG10. By the way "LOG10" is not even a function in HP50g, it is interpreted as a variable name.