Problem 1450. Calculate compression ratio of engine
Solution Stats
Problem Comments
-
5 Comments
Argument d is the cylinder diameter, not the valve diameter.
Thanks for the correction
because floating point numbers can not be represented exactly in binary form 2 is for example not equal to 2.0000. This is not considered for the test suite.
Don't use "pi" value from Matlab. It's better the 3.1416 value
In the test suite, are the test variables supposed to be without semi-colons?
Solution Comments
Show commentsProblem Recent Solvers185
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6361 Solvers
-
Find the peak 3n+1 sequence value
2526 Solvers
-
Basics: 'Find the eigenvalues of given matrix
423 Solvers
-
The Answer to Life, the Universe, and Everything
544 Solvers
-
Calculate the average value of the elements in the array
1327 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!