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 Center および File ExchangeCalculus についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by