Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

can 89s52 perform trignometric function?

Status
Not open for further replies.

waqas ikhtiar

Newbie level 6
Joined
Aug 13, 2011
Messages
11
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,283
Activity points
1,348
hi friends
i want to know that is keil compiler can perform inverse of cosine or sin...... i am using 89s52, if yes then nplease tell me how?
thanks
 

Implementing a lookup table would most likely be the most efficient method.

BigDog
 
  • Like
Reactions: FvM

    FvM

    Points: 2
    Helpful Answer Positive Rating
If high accuracy is an objective, you should code your own library function using power series, see List of mathematical series - Wikipedia, the free encyclopedia

Here's the example for inverted sine (arcsin)

278598912502258f7d0555bd9d4db6bd.png


Although the expression looks complicated at first sight, it reduces to a rather handy recursive form.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top