Hi !! I want to find area under a sine curve , from interval 0.1 to 0.3.
조회 수: 2 (최근 30일)
이전 댓글 표시

I used the following command to find area under a sine curve , from interval 0.1 to 0.3.
Q=quad(@sin(x), 0.1, 0.3);
But it is not working.
Can somebody please help
댓글 수: 0
채택된 답변
추가 답변 (2개)
Dimitris Kalogiros
2018년 8월 20일
You have a syntax error on your command. You must omit parenthesis from sin function. I am giving it to you at the proper format:
Q=quad(@sin, 0.1, 0.3)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!