Community Profile

photo

Natalie Haddadeen


Last seen: 4 years ago Active since 2017

Statistics

Content Feed

View by

Question


Why is it giving me undefined function for the slope field?
f=@(x,y)(exp(-x)-y)*(exp(-x)+2+y) slopefield(f,[xmin,xmax],[-10,10],20) hold on drawode(f,[-10,10],2,3) drawode(f,...

5 years ago | 1 answer | 0

1

answer

Question


Modify your Sum all even script so that given an integer n you generate a vector vec that contains all of the ODD numbers between 1 and 2^n. Then add them all up in the variable out.
Instructions: To solve this problem, modify the template bellow with your code. Leave the name of the function and variables unc...

7 years ago | 1 answer | 0

1

answer