Problem 2019. Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width and length of the rectangle.
Solution Stats
Problem Comments
-
10 Comments
Show
7 older comments
昱轩 张
on 8 Feb 2022
pretty interesting
Szollosi Anna
on 16 May 2022
good problem!
Josh
on 17 Jul 2023
might be some confusion as to which dimension is width and length between the problem statement and the test suite?
Solution Comments
Show commentsGroup

Basics on Vectors
- 11 Problems
- 7937 Finishers
- Find the sum of all the numbers of the input vector
- Select every other element of a vector
- Arrange Vector in descending order
- Inner product of two vectors
- Get the length of a given vector
- Find max
- Whether the input is vector?
- Flip the vector from right to left
- Create a vector
- Doubling elements in a vector
- Vector creation
Problem Recent Solvers5343
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!