Skip to main content
1-Visitor
July 4, 2018
Solved

defining earlier

  • July 4, 2018
  • 2 replies
  • 1401 views

Hi. 

Can a solve problems in one dokument without the defining earlier will effect my new problems I gonna solve?

 

Best answer by LucMeekes

Yes you can, but you should be sure to (re-)define variables whose name you (re-)use.

Mathcad looks above and to the right for any definition of a variable that you use. If it's undefined, the numeric processor will complain. The symbolic processor can deal with undefined variables, and also with variables defined in terms of undefined variable.

Using Prime you can also undefine variables.

 

The same goes for functions...

 

Success!
Luc

 

 

2 replies

LucMeekes23-Emerald IVAnswer
23-Emerald IV
July 4, 2018

Yes you can, but you should be sure to (re-)define variables whose name you (re-)use.

Mathcad looks above and to the right for any definition of a variable that you use. If it's undefined, the numeric processor will complain. The symbolic processor can deal with undefined variables, and also with variables defined in terms of undefined variable.

Using Prime you can also undefine variables.

 

The same goes for functions...

 

Success!
Luc

 

 

25-Diamond I
July 4, 2018

As far as I remember you are using Prime.

Here you are able to clear variables using the clear command.

You could also clear a variable for symbolic use only by using clear.sym

See the simple example below

B.png