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.print("введите x: ");
- double x = s.nextDouble();
- System.out.print("введите количество операций: ");
- int hmax = s.nextInt();
- int h = s.nextInt();
- /*for (int i = 0; i < hmax; i+h){
- x += i;
- double res = Math.cos(x) + Math.pow(x,2);
- System.out.println(res);*/
- while
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement