SetParameters 2D/3D• SetParameters[rules] sets the values of existing parameters or adds new parameters to the current parameters list. Parameters are given as a list of rules. Each element of rules must be of the form symbol->number. SetParameters returns the entire parameters list. • SetParameters is also an option for SetGuess and SolveCouple. • New rules that are associated with the same symbols as rules that are currently in the parameters list replace those in the current list. • New parameters are given the Protected and Constant attributes. • The Constant attribute allows expressions containing parameters to be differentiated with Dt. • See also: ClearParameters, Parameterize, Parameters. Further Examples Load the Modeler2D package. Add parameters to the system parameter list.
Out[2]= | |
Out[3]= | |
Remove some of the parameters and add some more.
Out[4]= | |
Out[6]= | |
Out[7]= | |
Remove all the parameters.
Out[8]= | |
|