how to get the mathematical function sin


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    It is just a way to have a circle fit into a byte. Probably should have been named something different.

    http://www.oopic.com/pgchap15.htm
    Dave
    Always wear safety glasses while programming.

  2. #2


    Did you find this post helpful? Yes | No

    Default not being a butthead

    Quote Originally Posted by mackrackit View Post
    It is just a way to have a circle fit into a byte. Probably should have been named something different.

    http://www.oopic.com/pgchap15.htm
    Interesting link. Sorry, I don't mean to nit-pic, just to provide some clarification.

    From a mathematical standpoint, "Brads" as referred to in the link, is a suggested misnomer as well, since radians play no role in the user's-end of the equation. Lacking any other existing unit, some new unit should be assigned. Since the nature of any angle measurement is that it cycles, similarities in this respect are moot point (since it's a requirement). I'm kind of partial to "Bangles", myself - Binary Angles where there are 256 units in a full cycle.

    The difficulties I encountered while trying to implement SIN properly in my recent program was due to the fact that the manual provided no examples, and the wording was such that one would think that radians (by definition) were the actual unit of measurement (which they aren't, since the function doesn't repeat every 6.28 units). I hope this helps others who are trying to successfully implement this function.

    picster

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    I do not see any buttheads or nit-picers...
    I see a confusing subject being discussed.

    I agree that some if not most of the examples are lacking, that is part of the reason the wiki was started.

    Would you be game to writing an article about this for the math section?
    http://www.picbasic.co.uk/forum/content.php?r=163
    Dave
    Always wear safety glasses while programming.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts