how can i integrate this function ?

조회 수: 1 (최근 30일)
elham kreem
elham kreem 2018년 3월 10일
댓글: elham kreem 2018년 3월 14일
Hello everybody , i have the bellow function , i want to integrate it from a to b
but the result is not complete , there is no result for a , the code for this
function is :
syms y
syms bx
syms v
syms a
syms b
% c is constant
f= y / ((bx - y)^2/v + 1)^(v/2)
z = int ( f , a,b , y )
***
the result after i run it in matlabe is :
z =
-(y*(b - y))/((bx - y)^2/v + 1)^(v/2)

답변 (1개)

Steven Lord
Steven Lord 2018년 3월 10일
You're close. Look at the documentation for the int function. Pay close attention to the order of the input arguments and what each input argument represents.
  댓글 수: 6
Torsten
Torsten 2018년 3월 12일
This indicates that MATLAB was not able to find an analytical expression for the integral. You will have to insert numerical values for b and v, numerical values for the limits a and b and use "integral" for a numerical approximation of the integral.
elham kreem
elham kreem 2018년 3월 14일
thank you

댓글을 달려면 로그인하십시오.

카테고리

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