How to translate this equation in matlab, please help thanks!

조회 수: 1 (최근 30일)
Noriel Balili
Noriel Balili 2019년 5월 5일
댓글: Noriel Balili 2019년 5월 5일
Suppose
L = 10 ft,
r = 1 ft,
h = 0.1620 ft.
Find the volume of the water in the trough.
equation%203.PNG

채택된 답변

Image Analyst
Image Analyst 2019년 5월 5일
Pretty much like the way it looks:
L = 10 % ft
r = 1 % ft
h = 0.1620 % ft.
V = L * (0.5*pi*r^2 - r^2 * asin(h/r) - h^2 * (r^2 - h^2)^2)
  댓글 수: 1
Noriel Balili
Noriel Balili 2019년 5월 5일
Hello thank you for the fast answer! i did the same thing but it came with an error. i forgot a few things in there and now i fixed it. thank you for the help!

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by