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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Define Variate in MathCAD

salchow27
1-Newbie

Define Variate in MathCAD

In MathCad, if I define A:= B+1, I must define B above A in order to get the A value. Is there any way that I can define B below A but still get the result. In excel I can do this....
5 REPLIES 5

On 10/31/2009 10:07:21 AM, carla25 wrote:

>In MathCad, if I define A:=

>B+1, I must define B above A

>in order to get the A value.

>Is there any way that I can

>define B below A but still get

>the result. In excel I can do

>this....

_______________________________







Define as a function



f(b):=b+1

f(1.23456789)=2.23456789



jmG




StuartBruff
23-Emerald II
(To:salchow27)

On 10/31/2009 10:07:21 AM, carla25 wrote:
== In MathCad, if I define A:= B+1, I must define B above A in order to get the A value. Is there any way that I can define B below A but still get the result. In excel I can do this....

Yes, but you have to be careful.

Use a global define operator, ≡ (press ~ to get it. Mathcad evaluates a worksheet in two passes. In the first pass, it evaluates any global definitions), then starting at the top again evaluates 'normal' definitions taking into account any global definitions.

See attached.

Stuart

Thanks Stuart, that is what I want.

Could anyone advise how to define the variate in the attached file?
StuartBruff
23-Emerald II
(To:salchow27)

On 11/13/2009 7:47:29 AM, carla25 wrote:
== Could anyone advise how to define the variate in the attached file?

Use the Global Definition operator (key stroke ~)to define DD and B.

Stuart
Top Tags