Advertisement
Guest User

Untitled

a guest
Apr 30th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. package vaznoe.math;
  2.  
  3. import static java.lang.Math.*;
  4. /**
  5. * Created by vaznoe on 4/30/17.
  6. */
  7. public class MathApp {
  8.  
  9. public static void main(String[] args) {
  10. System.out.println(formula_14(1.5));
  11. }
  12.  
  13. public static double formula_9(double x) {
  14. return 1.1 * pow(E, (-1 * x)) + abs(cos(sqrt(PI * x))) - 3 / 8;
  15. }
  16.  
  17. public static double formula_10(double x) {
  18. return 1 / 3 * sqrt(abs(sin(x))) * pow(sqrt(pow(E, 0.12 * x)), 3);
  19. }
  20.  
  21. public static double formula_11(double x) {
  22. return 2 * PI - abs(sin(sqrt(10.5 * x))) * 1 / pow(sqrt(pow(x, 2) + (1 / 7)), 3);
  23. }
  24.  
  25. public static double formula_12(double x) {
  26. return log(sqrt(abs(2 - x)) + 1.2) * 1 / (2 + pow(E, (-1 * x))) + pow(sqrt(2 / x), 3);
  27. }
  28.  
  29. public static double formula_13(double x) {
  30. return pow(sqrt(pow(E, (-2 + x))), 5) * (1 / sqrt(pow(x, 2) + pow(x, 4) + log(abs(x - PI))));
  31. }
  32.  
  33. public static double formula_14(double x) {
  34. return (sqrt(pow(sin(1), 3) * x / 2) + pow(sqrt(pow(E, 1.3 * x)) + pow(E, (-1.3 * x)), 3)) * 1 / abs(x + (5 / 2));
  35. }
  36.  
  37. public static double formula_15(double x) {
  38. return (abs(x * log(x - 4)) * sqrt(x)) * 1 / pow(sqrt(pow(E, (4 * x - 1))), 5);
  39. }
  40.  
  41. public static double formula_16(double x) {
  42. return pow(sqrt(pow(E, 2 * x) * sqrt(x) - (x + 1 / 3) / x), 3) * abs(cos(2.5 * x));
  43. }
  44.  
  45. public static double formula_17(double x) {
  46. return pow(x, 3) / 3 - pow(E, x) * log(abs(pow(1.3, 3) + pow(x, 3))) + 4 / 3;
  47. }
  48.  
  49. public static double formula_18(double x) {
  50. return abs(7.2 - 10 * x) / pow(sqrt(pow(x, 2) + pow(E, x)), 3) * atan((4 * (x / 3) / sqrt(pow(1.1 , 3) + pow(x, 2))));
  51. }
  52.  
  53. public static double formula_19(double x) {
  54. return acos(floor(tan((5 * x) / PI)) + pow(x, 3.2) / 28);
  55. }
  56.  
  57. public static double formula_20(double x) {
  58. return (pow(sqrt(pow(log(1), 2) * x) + tan(1) * cos(PI * x), 3)) * abs(log(x / 10.5) + 1 / 3);
  59. }
  60.  
  61. public static double formula_21(double x) {
  62. return (pow(sqrt(log(x)),4) + acos(x + 3)) * 1 / abs(x + 2 * pow(x, 2));
  63. }
  64.  
  65. public static double formula_22(double x) {
  66. return asin((log(x) / pow(x, 2) + 5 * x + 1) - pow(x, 3.2) / 28);
  67. }
  68.  
  69. public static double formula_23(double x) {
  70. return acos(floor(tan((5 * x) / PI)) + pow(x, 5.7) / 23);
  71. }
  72.  
  73. public static double formula_24(double x) {
  74. return atan(floor(abs(8.3 - 21 * pow(x, 2) - 0.8 * x) / pow(sqrt(2.5 + 1 / pow(x, 2)), 3)));
  75. }
  76.  
  77. public static double formula_25(double x) {
  78. return pow(log(acos(floor(abs(pow(x, 3.4) + 2.5 * pow(x, 1.2) - 0.7) / pow(sqrt(pow(E, 2.5 * x)),3)))), 4) + 1;
  79. }
  80.  
  81. public static double formula_26(double x) {
  82. return log(abs(sin(x))) + 2 * pow(E, x) + 2 * cos(abs(x)) + 2;
  83. }
  84. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement