DB48X-on-DM42 icon indicating copy to clipboard operation
DB48X-on-DM42 copied to clipboard

Cannot get numerical value for Avogadro constant

Open c3d opened this issue 1 year ago • 6 comments
trafficstars

Getting the numerical value gets an error

c3d avatar May 05 '24 20:05 c3d

We get Invalid or unknown constant for NA and Vm, but not for the other constants. The simulator does not trigger the error, only the real calculators, but the error about opening two files at the same time does not trigger.

c3d avatar May 07 '24 21:05 c3d

There aren't many constants that cause the problem. In other menus, I found R∞ also causing the problem.

Also, →Num gives the same error.

c3d avatar May 07 '24 21:05 c3d

The problem seems to occur for any constant that contains ⁻¹ in the definition.

c3d avatar May 07 '24 21:05 c3d

The problem still exists with builtin constants, when removing the config/constants.csv file. So definitely not a problem reading the file.

c3d avatar May 07 '24 21:05 c3d

We get a Syntax error editing x⁻¹ on the calculator, which does not exist in the simulator. So the problem is really parsing ⁻¹.

c3d avatar May 07 '24 21:05 c3d

The expression and parse correctly, but x⁻¹ fails with a Syntax error, and x! fails with Expected argument (though y! does work)

c3d avatar May 07 '24 22:05 c3d