To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 5783
5782  |  5784
Subject: 
RE: basic trigonometric functions on the handyboard..
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Tue, 9 Mar 1999 15:46:16 GMT
Original-From: 
Raymond, Shelby <srr@!StopSpam!cherry-semi.com>
Viewed: 
1151 times
  
Wouldn't it be easier to just use the cosine function itself?
x = cos y
You know x, but you want to find y.
Pick a y (maybe 45 deg) and calculate the x.
Use successive approximation to determine y within
a tolerance.  Almost like calculating a transcendental
equation.

-Shelby

Dear Berg,
You can perhaps express cos^-1 in the forms of a Taylor series and
use that series for finding the approximate value. I have however not
tried it.
There is no math function for inverse cosine.Refer to handy board
manual available el.www.mit.media.edu for details on IC.
Yours sincerely,
    Nitin

On Tue, 9 Mar 1999, Guy & Gad Berg wrote:

Hi.
We've been trying to build an algorithm which will allow our HB to
travel between given points.
We need to use the inverse cosine function (cos^-1), how can we do that?
Is there a math library which contains this and other trig functions?

Thanks,
Guy.





1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR