taylor-series

Taylor series Sin(X) with tolerance with python

Taylor series Sin(X) with tolerance with python Question: The task for my problem is to continue the Taylor series until the tolerance value is met. The first two iterations goes as planned however when c = 2 and onward the x value is not correct. If the code is executing correct the loop should be …

Total answers: 1

taylor series approximation of a specific function

taylor series approximation of a specific function Question: i’m struggling to write a Taylor series approximation for a chosen function (func(x) in the programme) and plot a graph of approximated values against exact. The order/accuracy of the approximation is a user-specified value. Also this must be done without using arrays. import math, matplotlib.pyplot as plt, …

Total answers: 1