Advertisement
Guest User

Untitled

a guest
Nov 13th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. package com.company;
  2.  
  3. public class Main {
  4.  
  5. public static void main(String[] args) {
  6. for ( int n = 10; n < 16; n++) {
  7.  
  8. for (double x = 0.6; x <= 1.1; x += 0.25){
  9.  
  10. double sum = 0;
  11. double part = 0;
  12. for (double i = 1; i < n; i++){
  13. 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 = ; ...
  14. sum = sum + part;
  15. }
  16. double f = (Math.pow(Math.E, x * n)) / 21 + Math.sqrt(n * x) * sum;
  17. System.out.printf("n = %d ",n);
  18. System.out.print(" x = " + x);
  19. System.out.print(" f = " + f);
  20. System.out.println(" хуй.");
  21. }
  22. }
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement