Problem 7823. Hydrogens in a Saturated Hydrocarbon
Given (c) carbon atoms in a saturated hydrocarbon molecule (all single bonds), how many hydrogen atoms (h) are in the molecule?
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 17 Aug 2020
It is a good problem but needs more test cases. People may derive the wrong formula by looking just at the test suite.
Solution Comments
Show commentsProblem Recent Solvers92
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15376 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10308 Solvers
-
497 Solvers
-
382 Solvers
-
108 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!