필터 지우기
필터 지우기

MATLAB-function of area under the curve

조회 수: 1 (최근 30일)
Kent Lam
Kent Lam 2015년 7월 15일
댓글: Walter Roberson 2015년 7월 21일
Write a MATLAB function M-file that carries out the calculation of the area under the curve for any function f, interval [a,b] and choice of n regular partitions.
  댓글 수: 4
Walter Roberson
Walter Roberson 2015년 7월 16일
"Write a MATLAB function" is not a question, it is an order. Your commands have no authority over any of the volunteers. If you hope to get the assistance of the volunteers, you have to present something that is enjoyable for the volunteers. The link about how to ask questions gives guidelines on how to make your questions more attractive to the volunteers. If you choose to not follow the guidelines then the volunteers are likely to choose to move on to a different Question.
Kent Lam
Kent Lam 2015년 7월 21일
I apologize about that, I will improve my asking skill

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

답변 (1개)

Walter Roberson
Walter Roberson 2015년 7월 15일
That is not possible. There are functions which are infinitely discontinuous, so the area under the functions are impossible to calculate. There are other functions whose values are not known, some of which have been proven impossible to know the values of except through brute-force testing.
  댓글 수: 1
Walter Roberson
Walter Roberson 2015년 7월 21일
A reminder that Mathematics does not yet have the notation to express all possible functions in a finite form. There are arguments to suggest that it is not possible to develop a finite notation to express all possible functions in finite form. And I think you will find that MATLAB has essential limitations in handling the infinite expressions you are planning to allow the user to input.

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by