SHARE
TWEET

Untitled

a guest Dec 8th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <math.h>
  3.  
  4. using namespace std;
  5.  
  6. double silnia(int z)
  7. {
  8.     double wynik=1;
  9.     for(int i=1;i<=z;i++)
  10.     {
  11.         wynik*=i;
  12.     }
  13.     return wynik;
  14. }
  15.  
  16. double Potega(double x,int n)
  17. {
  18.     double p=1.0;
  19.     for(int i=1;i<=n;i++)
  20.     {
  21.         p*=x;
  22.     }
  23.     return p;
  24. }
  25.  
  26. double sinus(double x)
  27. {
  28.     double sAkt=0.0;
  29.     double sPoprz=0.0;
  30.     double wynik=0.0;
  31.     const double E=1e-6;
  32.     int n=0;
  33.  
  34. }
  35. //E = 10^-6
  36. int main()
  37. {
  38.     cout<<sinus(5);
  39.     return 0;
  40. }
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