Community Profile

photo

Evan H


Active since 2015

Statistics

Content Feed

View by

Question


Code for a simpson's rule approximation of the integral of sin(x)/x
I'm trying to do a simpson's approximation for the integral of sin(x)/x. This is what I have so far, for some reason the answer ...

plus de 6 ans ago | 1 answer | 0

1

answer

Question


displaying only even values in a for loop?
How do I modify the following for loop with an if statement so that it only displays even values of m for m=1:100 num = ...

plus de 6 ans ago | 2 answers | 0

2

answers