Question

7. Use Romberg integration to approximate the integral of fx) cos(r over the interval [0, 3], starting with one interval and

7. 0.141120007827708

7. Use Romberg integration to approximate the integral of fx) cos(r over the interval [0, 3], starting with one interval and computing ten iterations.
7. 0.141120007827708
0 0
Add a comment Improve this question Transcribed image text
Answer #1

#include<stdio . h> #include<math . h> float f(float x) 1 2 3 4 F float p p cos(x) return p 5 6 7 8 9 main( 10 11 12 int i,j,36 else continue; 37 38 abc: printf(THE VALUE OF THE INTRGRATION-%f \n ,r[i][i]); for(i-e;ip;i++ 39 40 41 for (j=0;j<=i;j++

Add a comment
Know the answer?
Add Answer to:
7. Use Romberg integration to approximate the integral of fx) cos(r over the interval [0, 3], starting with one interv...
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