Question

matlab

matlab
media%2F248%2F24822f95-93fe-4331-8c67-41
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1 total = 0; 2 count = 1; 3 for n1:100000 4 if n == 100 Il n == 1000 Il n == 10000 11 n == 100000 y(count) = sqrt (total%); c

total = 0;
count = 1;
for n = 1:100000
if n == 100 || n == 1000 || n == 10000 || n == 100000
x(count) = n;
y(count) = sqrt(total*6);
count += 1;
end
total += (1/(n*n));
end

x
y
plot(x, y);
print -dpng some_name.png;


3.142 3.14 3.138 3.136 3.134 3.132 3.13 20000 40000 60000 80000 100000

Add a comment
Know the answer?
Add Answer to:
matlab
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT