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 / 5792
5791  |  5793
Subject: 
Re: basic trigonometric functions on the handyboard..
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Tue, 9 Mar 1999 21:13:46 GMT
Original-From: 
Jeroen van der Vegt <A.J.VANDERVEGT@saynotospamITS.TUDELFT.NL>
Viewed: 
1141 times
  
The attached GIF shows the Taylor series of the arcsin and arccos.
arctan=arccos/arcsin. I haven't tried to implement these formulas on a
68HC11.

3 to 4 steps are quite precise already.


Jeroen van der Vegt.

-----Original Message-----
From: Raymond, Shelby <srr@cherry-semi.com>
To: 'SHETTI.NITIN.MANGESH' <shettin@giasbmc.vsnl.net.in>; Guy & Gad Berg
<gberg@netvision.net.il>
Cc: handyboard@media.mit.edu <handyboard@media.mit.edu>
Date: dinsdag 9 maart 1999 17:48
Subject: RE: basic trigonometric functions on the handyboard..


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.






--
MIME ATTACHMENTS DISCARDED:

1.  Content-Type: image/gif;
    name="Asinacos.gif"
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment;
    filename="Asinacos.gif"
    Content-Length: 4881



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