Answers for "taylor series"

10

taylor swift

Taylor Alison Swift (born December 13, 1989) is an American singer-songwriter. Her narrative songwriting, which often centers around her personal life, has received widespread media coverage.
Posted by: Guest on August-10-2020
2

taylor series

double fact(int c)
{
   int factorial=1;
   for ( int i = 1; i <= c; i++ )
   {
      factorial *=i;
   }
   return factorial;
}

double taylor(double x, int n)
{
    double approx;
    double sum;
    double value;
    for (int i=1; i<=n; i++)
    {
        sum=((pow(x,i))/fact(i));
        value+=sum;
    }
    approx = 1+value;
    return approx;
}
Posted by: Guest on May-04-2021

Browse Popular Code Answers by Language