Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class Task3 {
- public static void main(String[] args) {
- double x, y, z;
- Scanner in = new Scanner(System.in);
- x = in.nextDouble();
- y = in.nextDouble();
- z = (Math.sin(x) + Math.cos(x)) / (Math.cos(x) - Math.sin(y)) * Math.tan(x * y);
- System.out.println(z);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement