Statistics
1 Question
0 Answers
RANK
88,969
of 302,380
REPUTATION
0
CONTRIBUTIONS
1 Question
0 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
0
RANK
of 21,759
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 181,952
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
2 Public Channels
AVERAGE RATING
50
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Question
I am trying plot a graph for the approximate integral against n, but nothing seems to be appearing on graph when i run this script.
f=@(x)x*sin(x); a=0; b=pi/2; n=3; h=(b-a)/n; s=0.5*(f(a)+f(b)); for i=0:n-1 s=s+f(a+i*h); end j=h*s; plot (j...
5 years ago | 1 answer | 0
