Problem 43298. Calculate area of sector
A=function(r,seta)
r(m) is radius of sector, seta (radian) is angle of sector, and A (m^2) is its area.
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
David Verrelli
on 5 Jul 2018
No challenge if players can just COPY-AND-PASTE the formula from the Problem Statement! There should also be more test cases (minimum of four).
Dyuman Joshi
on 21 Feb 2021
Formula removed from the problem statement and additional test cases added.
Kien
on 15 Nov 2023
good pr
Xander
on 24 Nov 2025 at 3:25
1
Solution Comments
Show commentsProblem Recent Solvers3214
Suggested Problems
-
13953 Solvers
-
Get the length of a given vector
12587 Solvers
-
Compute a dot product of two vectors x and y
1036 Solvers
-
Integer Sequence - II : New Fibonacci
666 Solvers
-
Double all elements in the array
2036 Solvers
More from this Author27
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!