Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)
Solution Stats
Problem Comments
5 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers222
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5809 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
560 Solvers
-
Convert from Base 10 to base 5
282 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1822 Solvers
-
SatCom #4: Satellite Orbit Altitude
223 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!
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?