Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class Program {
- public static void main(String[] args) {
- Scanner s = new Scanner(System.in);
- System.out.println("введите x: ");
- double x = s.nextDouble();
- for (int i = 0; i < args.length; i++){
- x += i;
- double res = Math.cos(x) + Math.pow(x,2);
- System.out.println(res);
- }
- }
- }
Advertisement
Comments
-
- господи зачем вы смотрите это уже 100 раз просмотрели втф
Add Comment
Please, Sign In to add comment
Advertisement