Adams Basic Package > Adams Insight > Appendix > Work Space Column Calculator Example

Work Space Column Calculator Example

Example 1: Synthesize a relationship between three factors and a response

1. Create three factors and one response.
2. Create a workspace matrix.
3. Open the workspace column calculator and set Column to Compute to r_01.
4. Enter the following expression: '2 + 3*f_01 + 4*f_02**2 + 5*f_03**3'
5. Select OK.

Example 2: Use of Python functions in the expression

1. Create two factors and one response.
2. Create a workspace matrix.
3. Open the workspace column calculator and set Column to Compute to r_01.
4. Enter the following expression: '2 + 3*f_01 + 4*f_02**2 + 5*f_03*f_02 + random()'
5. Select OK.