Flowchart (ISO 5807)
Source code
Python
def taylor_sin(x, n):
term = x
total = x
for i in range(1, n):
term = -term * x * x / ((2 * i) * (2 * i + 1))
total += term
return totalThe editor opens with this code — change it and the chart redraws.
- Language
- Python
- Constructs
- alternating series
- Topic
- Algorithms
- Formats
- Word, Visio, draw.io, PDF, SVG