atan help


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: atan help

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Posts
    3

    atan help

    i need to write a program to calculate the arctan of 35 degrees with the following sequence

    arctan(t) = t - t^3/3 + t^5/5 - t^7/7 + t^9/9

    im bad with math so any help would be appercaited

  2. #2
    Join Date
    May 2004
    Location
    Durham, UK
    Posts
    174
    Hi

    Look at the Math call which will support both arctan and powers (pow) at

    http://java.sun.com/j2se/1.5.0/docs/...lang/Math.html
    Hope this helps
    Graham

    Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, and if they get mad, you are a mile away and you have their shoes ;-)

    http://www.grahamrobinsonsoftware.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center