Advertisement
DanikYakush

Task3

Jul 1st, 2022
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class Task3 {
  4. public static void main(String[] args) {
  5. double x, y, z;
  6. Scanner in = new Scanner(System.in);
  7. x = in.nextDouble();
  8. y = in.nextDouble();
  9. z = (Math.sin(x) + Math.cos(x)) / (Math.cos(x) - Math.sin(y)) * Math.tan(x * y);
  10. System.out.println(z);
  11. }
  12. }
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement