Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- public class Main {
- public static void main(String[] args) {
- for ( int n = 10; n < 16; n++) {
- for (double x = 0.6; x <= 1.1; x += 0.25){
- double sum = 0;
- double part = 0;
- for (double i = 1; i < n; i++){
- part = Math.pow( Math.pow(Math.E, 1.2 * i)- ((i-1)/(i+1)), 1.0 / i )/ (Math.sqrt(i * Math.pow(i, 1.0/3)) + (Math.log(Math.sqrt(i * x))));//формула для того что после е - part = ; ...
- sum = sum + part;
- }
- double f = (Math.pow(Math.E, x * n)) / 21 + Math.sqrt(n * x) * sum;
- System.out.printf("n = %d ",n);
- System.out.print(" x = " + x);
- System.out.print(" f = " + f);
- System.out.println(" хуй.");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement