I'm using Scicoslab in a master's degree that I'm studying.
I have the block GENSIN_f that is a Sine wave generator. This is what it does:
This block is a sine wave generator and its output is defined by the equation:
You can adjust:
The magnitude M with the Magnitude parameter. The frequency F in radians/second with the Frequency parameter. The initial phase P in radians with the Phase parameter.
I need to use cos instead of sin without modifying the block.
Given the angle, how can I calculate the cosine of that angle using the sin function?