oaip
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import java.util.Scanner;
|
||||
|
||||
import static java.lang.Math.*;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[]args){
|
||||
final double a=4,b=0.25;
|
||||
Scanner in = new Scanner(System.in);
|
||||
System.out.print("Введите x=");
|
||||
double x = in.nextDouble();
|
||||
double y=pow(x,5)*(atan(pow((a+x),2))-sqrt(abs(((pow((x-a),2))))));
|
||||
double F=sqrt((a*pow(x,2)+b*x))-exp(-a*x)+a*x*log((x+a));
|
||||
System.out.printf("При x=%.3f, y=%.2f, F=%.3f",x,y,F);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user