cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

no defined variables and redefing them?

AM_11312647
1-Newbie

no defined variables and redefing them?

Hello,
i am currently making a calculation with Mathcad Prime 9.0, where i got 3 different load cases and i want them all in 1  sheet.

 

i made a few formulas at the beginning, and will later calculate my loadcases with them. For that i wanted some variables to be empty, so that they will just shown as their variable name, so i can later change this variable in every load case to a different number.

 

  1. When i just use a non defined variable, the whole formula cant used further
  2. When i give the variable a value and change it later, it will not recalculate the formula with the updated variable.

 

Is there a Solution for this? Or is this just how Mathcad works?

1 ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:AM_11312647)

Instead of mere 'formulas', you should use functions.

So instead of

LucMeekes_0-1720175209723.png

which requires m and a to be numerically defined, before F can be calculated, (hence the red error mark)

use:

LucMeekes_1-1720175286291.png

Where you can fill in the numbers for m and a once you're ready to calculate the corresponding value of F.

LucMeekes_3-1720175506695.png

And you can calculate the results for a set of scenarios:

LucMeekes_4-1720175540024.png

Success!
Luc

View solution in original post

2 REPLIES 2
ttokoro
20-Turquoise
(To:AM_11312647)

Attach your worksheet. Usually, it is no problem.

image.png

LucMeekes
23-Emerald III
(To:AM_11312647)

Instead of mere 'formulas', you should use functions.

So instead of

LucMeekes_0-1720175209723.png

which requires m and a to be numerically defined, before F can be calculated, (hence the red error mark)

use:

LucMeekes_1-1720175286291.png

Where you can fill in the numbers for m and a once you're ready to calculate the corresponding value of F.

LucMeekes_3-1720175506695.png

And you can calculate the results for a set of scenarios:

LucMeekes_4-1720175540024.png

Success!
Luc

Top Tags