Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <math.h>
  4.  
  5.  
  6. int main(void)
  7. {
  8. int luku1;
  9. int luku2;
  10. int x;
  11. int y;
  12. int v = luku1;
  13. int alfa;
  14. int dt=10;
  15. int t;
  16. int g=9.81;
  17. int pii=3.1415;
  18.  
  19. t=t+dt;
  20.  
  21. double (x , y) = ( ( t * v * cos * alfa ) , ( g* (t * t))/(t * v * sin * alfa) );
  22.  
  23. alfa=((luku2*pii)/180.0); /*Lähtökulma*/
  24.  
  25. printf("Lahto nopeus m/s: ");
  26. scanf("%s", &luku1);
  27. printf("%s\n", luku1);
  28.  
  29. printf("Lahtokulma: ");
  30. scanf("%s", &luku2);
  31. printf("%s\n", alfa);
  32.  
  33. printf("%s\n", t);
  34.  
  35. return 0;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement