Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hello, I defined an electron volt in terms of Joules, and tried to convert Joules to electron volts in prime 11, and got an error saying electron volt was undefined. What am I doing wrong?
I get the same error when I replace the J with the eV in the 2nd to last expression. This worked in MathCAD 15.
Thanks for the help, Paul
Solved! Go to Solution.
When you define eV you need to set the Math Label to 'Unit', not use the default 'Variable'.
The Math Label can be found in the middle of the Math Ribbon.
Stuart
When you define eV you need to set the Math Label to 'Unit', not use the default 'Variable'.
The Math Label can be found in the middle of the Math Ribbon.
Stuart
No worries.
I'm not sure whether eV (or other user-defined unit) should be auto-converted to Unit at its first use in the unit placeholder or not.
Stuart