Question: please help with matlab integral. using this format: clear; clc; f1=@(x) (); A=; B=; I = quad(f1,A,B) I tried myself with this but none of
please help with matlab integral.
using this format:
clear; clc;
f1=@(x) ();
A=; B=;
I = quad(f1,A,B)
I tried myself with this but none of these can't be run. please help
clear; clc;
f1=@(x) (1/(5*exp(3*x)+2*exp(-3*x)));
A=0.0; B=3.0;
I = quad(f1,A,B)
A=0; B=1;
I = quad(inline('log(1+x)./(1-x)'), A, B);
fprintf('I = %10.6f ', I);
A=0; B=1;
I = quad(inline('log(1+x)./(1-x.^2)'), A, B);
fprintf('I = %10.6f ', I);

Use MATLAB's integral function to evaluate the following integrals. Note that integrals d, e and fare improper integrals. 3.x Sin x ax 1-4 sin x c. /-(sinh x- cosr)dr 3 e dx log x dx log x dr
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
