public class TrigonometryExample {
    public static void main(String[] args) {
        double angle = 45; // زاویه در درجه
        double radians = Math.toRadians(angle);

        System.out.println("Sine: " + Math.sin(radians));
        System.out.println("Cosine: " + Math.cos(radians));
        System.out.println("Tangent: " + Math.tan(radians));
    }
}