Jump to content
BrainDen.com - Brain Teasers
  • 0


Guest
 Share

Question

8 answers to this question

Recommended Posts

  • 0

I'm really having no luck solving this.

Just something to note: If you use a computer to find solutions it may miss some or create false solutions if you simply check if the sum equals one. This is due to rounding errors given that the computer can only store values to a limited accuracy.

Link to comment
Share on other sites

  • 0

36, 60, 72

Here's my python script: with indenting signified by ~'s

#!/usr/bin/python

import math

for a in range(0,88):

~for b in range(a+1,89):

~~for c in range(b+1,90):

~~~z = math.cos(a*math.pi/180)**2;

~~~z += math.cos(b*math.pi/180)**2;

~~~z += math.cos(c*math.pi/180)**2;

~~~if math.fabs(z-1) < 0.000001:

~~~~print a, b, c;

Link to comment
Share on other sites

  • 0

Sorry, I meant to edit, not repost

36, 60, 72

Here's my python script: with indenting signified by ~'s

#!/usr/bin/python

import math

for a in range(0,88):

~for b in range(a+1,89):

~~for c in range(b+1,90):

~~~z = math.cos(a*math.pi/180)**2;

~~~z += math.cos(b*math.pi/180)**2;

~~~z += math.cos(c*math.pi/180)**2;

~~~if math.fabs(z-1) < 0.000001:

~~~~print a, b, c;

--------------------------

Note that though this was found without checking equality,

I was able to verify equality symbolically on my calculator (not using floating point calculations with round off errors)

Edited by mmiguel1
Link to comment
Share on other sites

  • 0

cos^2(x) = (1/2)(1+cos(2x))

Using this formula,

we get (1/2)(3 + cos(2a) + cos(2b) + cos(2c) ) = 1

or

cos(2a) + cos(2b) + cos(2c) = -1

letting a,b,c = 36, 60, 72

We get

Cos(72) + Cos(120) + Cos(144) = -1

This is the same as

Cos(2 pi/5) + Cos(2 pi/3) + Cos(4 pi/5) = -1

From a table,

Cos(2 pi/5) = (1/4)( Sqrt[5] - 1 )

Cos(2 pi/3) = -1/2

Cos(4 pi/5) = (1/4)(-1 - Sqrt[5] )

Summing these together gives -1

Meaning that the equation is satisfied and a,b,c = 36, 60, 72 satisfies the original relation.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...