Advertisement
Guest User

Untitled

a guest
Jan 20th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <math.h>
  3. mein_sin(double x);
  4. void main()
  5. {
  6. double x,v;
  7. printf("Type in real number please\n")
  8. scanf_s("%f", &x)
  9. }
  10. mein_sin(x)
  11. {
  12. i = 0;
  13. v = 0.0;
  14. for(i = 0; v> 0.000001; i++)
  15. {
  16. printf("mein_sin(%f): %f", x,v);
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement