daily pastebin goal
56%
SHARE
TWEET

Untitled

a guest Oct 11th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include<match.h>
  3. #include<stdlib.h>
  4.  
  5. int main()
  6. {
  7. float q,a,x,x1,x2,dx;
  8. printf("Dați valorile lui q: ");
  9. scanf("%f",&q);
  10. printf("Dați valorile lui a: ");
  11. scanf("%f",&a);
  12. printf("Dați valorile lui x1: ");
  13. scanf("%f",&b1);
  14. printf("Dați valorile lui x2: ");
  15. scanf("%f",&b2);
  16. printf("Dați valorile lui dx: ");
  17. scanf("%f",&dx);
  18.  
  19. x=x1;
  20. while (x<=x2);
  21. {
  22.     q=2*pow(a,3)+(1+(sqrt(sin*pow(a,2))))/(ln*pow(a,3));
  23. if (x<b)
  24. a=(2*b)-pow(x,3)*cos*pow(x,2);
  25. else(
  26.   a=(((1+((x)),1/2)),1,3),1/2);
  27.      );
  28.      printf("\n Pentru x=%.3f,x1=%.3f,x2=%.3f\n",x,x1,x2);
  29.      x=x+dx;
  30. }
  31. return(0);
  32. }
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
 
Top