Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
- int main()
- {
- double x,y,z,wynik;
- printf("Wpisz x: ");
- scanf("%lf", &x);
- printf("Wpisz y: ");
- scanf("%lf", &y);
- printf("Wpisz z: ");
- scanf("%lf", &z);
- min=-DBL_MIN;
- max=DBL_MAX;
- if(x+y, y-z);
- if(x,y);
- double a=0.4;
- double b=2.3;
- double e=2.718;
- if(x<(3.5*a))
- {
- wynik=a*b*x-(pow(cos,2))*(x*(pow(e,2*x));
- }
- else if((3.5*a)<=x<=b) {
- wynik=pow(a-x, 2)-log(pow(e, 1*x)+x);
- }
- else if (x>b) {
- wynik=sqrt(b*x-a+pow(e,2*x)*pow(x,2));
- }
- printf("Wynik wynosi: %.4e", wynik);
- printf("Wynik wynosi: %4d", wynik);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement