How would you write a code that solves $\int Sin(y)dy$ (integral is from 0 to x)? The method it uses for solving doesn't really matter, although my go-to would be the Riemann sum. I need the code to be hand written though and not use an already existing solver like NIntegrate[].
How do I write an integral solver
Miko
- 11
- 2