modelInverse_sine
Solve y = A*sin(w*x) for x, given y
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This models solves the following non-linear equation
y = A*sin(w*x); -> determine x for given y
Translate model "Inverse_sine" and simulate for 0 sec. The result is printed to the output window.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y_zero | 0.5 | Desired value of A*sin(w*x) |
| Real | x_min | -1.7 | Minimum value of x_zero |
| Real | x_max | 1.7 | Maximum value of x_zero |
| Real | A | 1 | Amplitude of sine |
| Real | w | 1 | Angular frequency of sine |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x_zero | y_zero = A*sin(w*x_zero) |
Contents
| Name | Description |
|---|---|
| Define sine as non-linear equation to be solved |