Question: Solve in Matlab please. Thank you. 2) In class, I introduced you to the following puzzle. Take the fraction 16 64 It is easy to
Solve in Matlab please. Thank you.
2) In class, I introduced you to the following puzzle. Take the fraction 16 64 It is easy to see that this fraction reduces to by dividing both numerator and denominator by 16. But visually (not mathematically), we can achieve the same result by "cancelling" the 6's: 16 1 64 4 Your task is to write Matlab code find all such examples. By this, I mean In your original fraction, both numerator and denominator are positive two-digit integers where the numerator is less than the denominator. The "cancellation" occurs by the ones place of the numerator being equal to the tens place of the denominator. The "cancellation results is a fraction that is equal to the reduction of the orignal fraction by conventional and valid mathematical means
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
