Problem 44474. I hope to lose weight healthily...
In order to reduce weight healthily, weight will be reduced by 4% every month.
Please calculate how many months it will take by achieving the target weight.
eg. My weight now is 54.3 kg, and I want to lose weight to 46.5 kg. It will take 4 months;
input : before=54.3,after=46.5 >>> output : month = 4
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers48
Suggested Problems
-
Select every other element of a vector
35587 Solvers
-
Find out missing number from a vector of 9 elements
317 Solvers
-
487 Solvers
-
Find the index of n in magic(n)
268 Solvers
-
377 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!