Solving integrals with Matlab

조회 수: 3 (최근 30일)
Jerald Johnson
Jerald Johnson 2019년 4월 20일
답변: Walter Roberson 2019년 4월 20일
% 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.

채택된 답변

Walter Roberson
Walter Roberson 2019년 4월 20일
syms x
int( 7 + 1/sqrt(1-x^2), x, 0, 1/2 )

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by