Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
r=1
seta=pi/2
y_correct = 0.7854;
assert(abs(sectorarea(r,seta)-y_correct)<0.001)
r =
1
seta =
1.5708
y =
0.7854
|
2 | Pass |
r=2
seta=pi/2
y_correct = pi;
assert(abs(sectorarea(r,seta)-y_correct)<0.001)
r =
2
seta =
1.5708
y =
3.1416
|
Return the 3n+1 sequence for n
6168 Solvers
Given an unsigned integer x, find the largest y by rearranging the bits in x
780 Solvers
400 Solvers
2773 Solvers
214 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!