Problem 2019. Dimensions of a rectangle
Solution Stats
Problem Comments
-
9 Comments
An interesting problem providing the sqrt(10) factor.
Do you know that "rectangle" is a Matlab function???????????????????????????????????
The function name 'rectangle' is duplicated with the built-in function. Cannot execute the test trial.
There was no correct solution since October, 12th, due to a defect in the test.
Thank you for renaming the function.
The test trials now can be executed correctly.
great problem
function [width, length] = findRectangleDimensions(x)
width =sqrt(x^2/10);
length = 3*width;
end
pretty interesting
good problem!
Solution Comments
Show commentsProblem Recent Solvers4349
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
8259 Solvers
-
1522 Solvers
-
1950 Solvers
-
Getting the indices from a vector
7613 Solvers
-
694 Solvers
More from this Author10
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!