With α = 30° and the formula
we obtain:
Here the positive value is chosen because 15° is in the first quadrant.
[Why bother doing this when we can use a calculator? This is just to illustrate that the formula works.]