F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

Star Gazer

Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 65535/65535 K (Java/Others)
Total Submission(s): 434    Accepted Submission(s): 201


Problem Description
Sven Cal Payang is a Natural who was a member of the Phantom Pain Special Forces and piloted the GAT-X105E Strike Noir.
As is known, Sven was astronomy amateur when he was still a child. After the war between ZAFT and Earth Alliance, he decided to continue his childhood dream.
Sven¡¯s new house is located at a peaceful town. What¡¯s more, there is a lake in his garden. One day, he came up with a new idea on finding stars using interference phenomenon. He put a radio wave receiver h meter above the surface of a lake. When a radio star rising, it detects maxima successively due to interference of radio waves from the star, and its reflection waves from the water. The wavelength of the waves is ¦Ë centimeters. Sven wants to find stars as quickly as possible. Can you help him?

 

Input
Several cases are given until the end of input. Each line contains h and ¦Ë separated by a space.
 

Output
Print the minimum altitude angle of the star in degree. The value should be accurate to two decimal points. (There may be several result for one case, but only output the minimum altitude angle!)
 

Sample Input
0.5 20.0 20.0 0.5
 

Sample Output
5.74 0.00
 

Hint
Notice: When light reflected from a medium having an index of refraction greater than that of the medium in which it is traveling, a 180¡ãphase change (or ¦Ë/2 shift )
occurs.
 

Source
 

Statistic | Submit | Discuss | Note
Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-22 11:44:05, Gzip enabled