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

Home > Just Math
Equal Temperatures (Posted on 2016-10-31) Difficulty: 3 of 5
Find all pairs (A,B) of nonzero integers such that:

(80/A)o Fahrenheit = (80/B)o Celsius.

*** F = 9*C/5 + 32, where F and C respectively represents Fahrenheit and Celsius scales of temperatures.

No Solution Yet Submitted by K Sengupta    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution | Comment 2 of 6 |
   A   B           F            C
 -20  -4      -4.00000000 -20.00000000
  -5  -3     -16.00000000 -26.66666667
  -2  -2     -40.00000000 -40.00000000
   1   3      80.00000000  26.66666667
   2  18      40.00000000   4.44444444
   
 For b = Int(-272 / 80) To 100000
   If b <> 0 Then
    c = 80 / b
    f = 9 * c / 5 + 32
    a = 80 / f
    arounded = Int(a + 0.5)
    If Abs(arounded - a) < 0.00001 Then
      Text1.Text = Text1.Text & mform(a, "###0") & mform(b, "###0") & "    "
      Text1.Text = Text1.Text & mform(f, "###0.00000000") & mform(c, "###0.00000000") & crlf
    End If
   End If
 Next b   

  Posted by Charlie on 2016-10-31 11:53:55
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 (4)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

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