Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <math.h>
- using namespace std;
- double silnia(int z)
- {
- double wynik=1;
- for(int i=1;i<=z;i++)
- {
- wynik*=i;
- }
- return wynik;
- }
- double Potega(double x,int n)
- {
- double p=1.0;
- for(int i=1;i<=n;i++)
- {
- p*=x;
- }
- return p;
- }
- double sinus(double x)
- {
- double sAkt=0.0;
- double sPoprz=0.0;
- double wynik=0.0;
- const double E=1e-6;
- int n=0;
- }
- //E = 10^-6
- int main()
- {
- cout<<sinus(5);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement