The arguments to the trigonometric functions are in radians. If your input is in degrees, you must divide by 2 * Pi:
result = Convert.ToString(
r * Math.Sin(θ / (2 * Math.PI)) * Math.Cos(ϕ / (2 * Math.PI))
);
[EDIT]
Used thew wrong factor.
result = Convert.ToString(
r * Math.Sin(Math.PI / 180 * θ) * Math.Cos(Math.PI / 180 * ϕ)
);
[/EDIT]