Question

6. So, does it work? Does this actually lead to a method that is good for functions in general? Use 2-point Gaussian quadratu

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a=-1,b=1,f(x)=e^{-x}\sin(x) for 2 points and weights are w_1=w_2=1 and nodes are L 02

Based on 2 point Gaussian quadrature, we get the approximate integral as

w_1f(x_1)+w_2f(x_2)=f\left(-\frac{1}{\sqrt{3}} \right )+f\left(\frac{1}{\sqrt{3}} \right ) where ) ~-0.97225, f

Thus, we have ~-066584 V3 (rounded to 5 decimal places)

Which is quite close to the actual value given 0,6635

\blacksquare

Please do rate this answer positively if you found it helpful. Thanks and have a good day!

Add a comment
Know the answer?
Add Answer to:
6. So, does it work? Does this actually lead to a method that is good for functions in general? U...
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
ADVERTISEMENT