Advertisement
Guest User

Untitled

a guest
Oct 24th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3.  
  4. double powXN(int n,double x)
  5. {
  6. int i;
  7. double c;
  8. for(i=0;i<n;i++)
  9. c=x*x;
  10.  
  11. return c;
  12.  
  13.  
  14. {
  15.  
  16.  
  17. double rootN(int n,double x)
  18. {
  19. int i;
  20. double c;
  21. for(i=0;i<n;i++)
  22. c=x*1/n;
  23.  
  24. return c;
  25.  
  26.  
  27. {
  28.  
  29. double LogN(int n,double x)
  30. {
  31. c=log10(x)/log10(n);
  32. return c;
  33.  
  34. }
  35.  
  36.  
  37.  
  38. int main()
  39. {
  40.  
  41. int n;
  42. double x;
  43.  
  44.  
  45. getchar();
  46. return 0;
  47.  
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement