Advertisement
AIwinter

java

Mar 24th, 2023
1,001
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.40 KB | None | 0 0
  1. import java.util.Scanner;
  2. public class Program {
  3.     public static void main(String[] args) {
  4.         Scanner s = new Scanner(System.in);
  5.         System.out.println("введите x: ");
  6.         double x = s.nextDouble();
  7.  
  8.         for (int i = 0; i < args.length; i++){
  9.             x += i;
  10.             double res = Math.cos(x) + Math.pow(x,2);
  11.             System.out.println(res);
  12.         }
  13.     }
  14.  
  15. }
Advertisement
Comments
  • AIwinter
    1 year
    # text 0.10 KB | 0 0
    1. господи зачем вы смотрите это уже 100 раз просмотрели втф
Add Comment
Please, Sign In to add comment
Advertisement