Re: tangent value
- To: mathgroup at smc.vnet.net
- Subject: [mg17728] Re: [mg17625] tangent value
- From: "Tomas Garza" <tgarza at mail.internet.com.mx>
- Date: Tue, 25 May 1999 02:15:13 -0400
- Sender: owner-wri-mathgroup at wolfram.com
Chris Johnson [christian_mail at geocities.com] wrote: > Problem: > "Write a program that reads two float values representing angles and > displays a message stating which angle has the greater tangent value." > > Can anybody tell me what the tangent value in this case is supposed to > mean? Unless there is some secret I am not aware of: In[1]:= {Random[Real,{-Pi/2, Pi/2}],Random[Real,{-Pi, Pi}]} Out[1]= {-0.92742,0.318842} In[2]:= Tan/@% Out[2]= {-1.33368,0.330105} In[3]:= Max[%] Out[3]= 0.330105 Tomas Garza Mexico City