All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Temperature Temperament V (Posted on 2022-10-01) Difficulty: 3 of 5
Determine all possible pairs (x,y) of nonzero integers that satisfy this equation:
                    (x/y)oC = (x-y)oF
Note: oF = (9/5)*oC+32, where oF represents degrees Fahrenheit and, oC represents degrees Celsius.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer findings | Comment 1 of 2
clearvars,clc
for y=-10000:10000
  for x=y-10000:y+10000
    c=x/y; f=x-y;
    if 9*c/5+32==f
      fprintf('%3d %3d %11.6f %11.6f\n',x, y, c, f)
    end
  end
end

finds

 x   y        C           F

  0 -32   -0.000000   32.000000
 20  -6   -3.333333   26.000000
340   2  170.000000  338.000000
340 306    1.111111   34.000000

Just ignore the first line as it violates the nonzero nature expected of x.

  Posted by Charlie on 2022-10-01 12:35:19
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (9)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information