SetSimpleParameters

SetSimpleParameters[linkage, {varixi..}]
sets vari simple parameter to xi value in linkage and returns the resulted LinkageData object.
SetSimpleParameters[linkage, {x1, x2, ..}]
sets the ith simple parameters' value to xi value in linkage and returns the resulted LinkageData.
  • SetSimpleParameters sets only those parameters of linkage that is specified in the second argument.
  • SetSimpleParameters calls SetDrivingVariables function if linkage has $DerivedParametersB record.
  • SetSimpleParameters can have the same options as SetDrivingVariables
  • The following selected option can be defined:
ParameterInitialGuessAutomaticSpecifies the intial values used in root finding. Applied only if $DerivedParametersB record is defined.
AccuracyGoalAutomaticSpecifies how many effective digits of accuracy should be sought in the final result during root finding.
MaxIterations100Specifies the maximum number of iterations that should be tried during root finding.
PrecisionGoalAutomaticSpecifies how many effective digits of precision should be sought in the final resul during root findingt
Load LinkageDesigner package
In[1]:=
Click for copyable input
Load the predefined four-bar mechanism
In[2]:=
Click for copyable input
Out[2]=
List the simple parameters of the linkage
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=
Set the l1 link length to 8 .
In[5]:=
Click for copyable input
Out[5]=
Set the first and second simple parameters ( l0 and l1) to 13 and 4 respectively
In[6]:=
Click for copyable input
Out[6]=