Search the web
Sign In
New User? Sign Up
Fortran · Fortran Q/A's, info, lib and fans
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Programming using trig in Fortran   Message List  
Reply | Forward Message #443 of 513 |
Re: [Fortran] Programming using trig in Fortran

hezdanswe2 wrote:
>
> Hi, I am a college student taking Fortran 95 as an elective.

Good for you!

> ... My assignment was to declare PI but
> instead of declaring it as a constant I was to declare it as a trig
> formula. I got my entire program working, however I could not get the
> trig formula down...

Hint: Look at the definitions of ACOS, ATAN, and/or ATAN2.

W.





Fri Sep 1, 2006 12:37 pm

w6ws
Offline Offline
Send Email Send Email

Forward
Message #443 of 513 |
Expand Messages Author Sort by Date

Hi, I am a college student taking Fortran 95 as an elective. I was given an assignment that has already been turned in. I had one part that I could not answer...
hezdanswe2
Online Now Send Email
Sep 1, 2006
8:28 am

PI = ATAN(1.0)*4 Larry ... --*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*-- , ; , .-'"""'-. , ; , \\|/ .' '. \|// \-;-/ () ()...
larry chen
lchen292002
Offline Send Email
Sep 4, 2006
7:28 am

Thank you that works also, I used ACOS(-1) but that adds another variation =) ... Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail. ...
Tammy Ray
hezdanswe2
Online Now Send Email
Sep 10, 2006
6:59 pm

... Good for you! ... Hint: Look at the definitions of ACOS, ATAN, and/or ATAN2. W....
Walter Spector
w6ws
Offline Send Email
Sep 4, 2006
7:29 am

ty works as ACOS(-1) Did more research when I was less frustrated =) ... Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail. [Non-text portions...
Tammy Ray
hezdanswe2
Online Now Send Email
Sep 10, 2006
6:54 pm

Hi, Try: PI = ACOS(-1) Best regards, Alex hezdanswe2 <hezdanswe2@...> escreveu: Hi, I am a college student taking...
Luiz Alexandre Guerra
lalexguerra
Offline Send Email
Sep 4, 2006
7:29 am

... How about using the arctan function?...
Xenicity Xen
xenicity
Offline Send Email
Dec 3, 2006
7:38 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help