Hi !! I want to find area under a sine curve , from interval 0.1 to 0.3.
3 ビュー (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194052/image.jpeg)
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 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!