public abstract class TrigCalculatorSolution extends BasicCalculatorSolution { /** * Calculates the sine of an angle in radians. * @return sine(angle) */ public double sine (double angle) { return Math.sin(angle); } /** * Calculates the cosine of an angle in radians. * @return cosine(angle) */ public double cosine (double angle) { return Math.cos(angle); } }