Solving integrals with Matlab

1 view (last 30 days)
% Numerical Integration
f(x)=int(sym('7+1/sqrt(1-x^2)',1/2,0))
I am stuck on this calculus problem. It is numerical integration, how do i write a code for this problem?It gives me error and i don't know what i am doing incorrectly.
The problem is f(x)= integral sign(7+1/sqrt(1-x^2)). Upper bound of integral sign is 1/2 and lower bound of integral sign is 0.

Accepted Answer

Walter Roberson
Walter Roberson on 20 Apr 2019
syms x
int( 7 + 1/sqrt(1-x^2), x, 0, 1/2 )

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!