Skip to main content
1-Visitor
October 22, 2016
Question

IF statements and range variable issues

  • October 22, 2016
  • 3 replies
  • 1779 views

range variable.JPG

New to MathCAD and running into all kinds of issues regarding if statements and range variables... my first problem is that x never seems to be defined anywhere and I believe I have defined it as a range variable (i could be wrong) and since x is never defined nothing is being evaluated. Any help you can offer would be greatly appreciated 

3 replies

24-Ruby III
October 24, 2016
19-Tanzanite
October 24, 2016

As Martin says, if you want to evaluate an expression you need to use the evaluation operator (=). What you have written looks fine to me, as long as R1y, etc, are defined somewhere.

This forum is actually for help with the community. You should post Mathcad questions to the Mathcad forums. Toby Metcalf‌, could you please move this thread.

23-Emerald I
October 25, 2016

Rewritten (slightly):

If you do this (and have a ,d, f, and g defined as lengths then

the function q should report force/length

V should report force

M should report moment