64 712
Assignments Done
99,4%
Successfully Done
In September 2018

Answer to Question #5581 in MatLAB | Mathematica | MathCAD | Maple for Shayan

Question #5581
use Matlab for solving the following integral:
integral(-1 to 4)((1+5e^(-25x^2)/(1+x^2/25))dx.
Expert's answer
> use Matlab for solving the following integral:
> integral(-1 to 4)((1+5e^(-25x^2)/(1+x^2/25))dx.

Run the following MATLAB code:

f=@(x)(1+5*exp(-25*x.^2)./(1+x.^2/25));
quad(f,-1,4)

This will give the output:

ans =
6.7710

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions