Mathcad help: The forms of these values must match error

Click For Summary
SUMMARY

The forum discussion addresses the "The forms of these values must match" error encountered in Mathcad when assigning a unitless value to a variable. The user is attempting to assign 'num := 100', but the program requires the value to match the form of a function that includes units. The solution involves ensuring that the assigned value aligns with the expected function format, which may include adjusting the variable's definition or the function's parameters. A suggestion is made to use an example file from the Mathcad help section to troubleshoot the issue.

PREREQUISITES
  • Understanding of Mathcad variable assignments
  • Familiarity with unitless values in Mathcad
  • Knowledge of function definitions in Mathcad
  • Basic troubleshooting skills in Mathcad software
NEXT STEPS
  • Review Mathcad documentation on variable types and assignments
  • Learn how to define functions with units in Mathcad
  • Explore example files provided in Mathcad help for practical insights
  • Investigate common errors in Mathcad related to value forms and units
USEFUL FOR

This discussion is beneficial for Mathcad users, particularly students and professionals who are troubleshooting variable assignment errors and seeking to understand unit management within the software.

markus.sparti
Messages
2
Reaction score
0
Mathcad help: "The forms of these values must match" error

Homework Statement


I am getting an error, when I assign a value to 'num', stating:

The forms of these values must match
This value has the form: Unitless,
but others have the form: f(any1, [unitless]) => [unitless]


I cannot figure out what the program wants me to do, how do I make the value of 'num := 100' match the others, or vise-versa? I am completely stuck. :rolleyes:


Homework Equations


new3-1.jpg

new1.jpg

new2.jpg


with the error message:
match1.jpg



The Attempt at a Solution


I have tried everything I can think of, I have double checked all the numbers and units and can't find anything wrong. Any help in the right direction is greatly appreciated.

Thanks! :approve:
 
Physics news on Phys.org
IDK, it seems like it should work. MathCAD can be frustrating that way. Here's an example file from the help section. Try running that and then slowly morph it into your example. You'll need to change the file extension from .txt to .xmcd.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
7K
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K