Community Profile

photo

Evan H


Active since 2015

Followers: 0   Following: 0

Statistics

Feeds

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 ...

mer än 8 år 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 = ...

mer än 8 år ago | 2 answers | 0

2

answers