SHARE
TWEET

Untitled

a guest Nov 13th, 2019 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <math.h>
  4.  
  5. int main()
  6. {
  7.     double x,y,z,wynik;
  8.  
  9.  
  10.    printf("Wpisz x: ");
  11.    scanf("%lf", &x);
  12.  
  13.    printf("Wpisz y: ");
  14.    scanf("%lf", &y);
  15.  
  16.    printf("Wpisz z: ");
  17.    scanf("%lf", &z);
  18.  
  19.    min=-DBL_MIN;
  20.    max=DBL_MAX;
  21.  
  22.     if(x+y, y-z);
  23.     if(x,y);
  24.  
  25.     double a=0.4;
  26.     double b=2.3;
  27.     double e=2.718;
  28.  
  29.     if(x<(3.5*a))
  30.     {
  31.         wynik=a*b*x-(pow(cos,2))*(x*(pow(e,2*x));
  32.  
  33.     }
  34.     else if((3.5*a)<=x<=b) {
  35.  
  36.         wynik=pow(a-x, 2)-log(pow(e, 1*x)+x);
  37.  
  38.     }
  39.     else if (x>b) {
  40.         wynik=sqrt(b*x-a+pow(e,2*x)*pow(x,2));
  41.     }
  42.  
  43.     printf("Wynik wynosi: %.4e", wynik);
  44.     printf("Wynik wynosi: %4d", wynik);
  45.  
  46.  
  47.         return 0;
  48.  
  49. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top