About 50 results
Open links in new tab
  1. c - Implementation of the trigonometric functions for real time ...

    Apr 14, 2021 · Based on that I have decided to implement those functions in my own. From the execution time point of view it seems to me that the best approach for real time application is to use …

  2. C++ templates for sin, cos, tan taylor series

    Aug 6, 2017 · I used C++ metaprogramming to build taylor series for sin, cos, and tan (not really for tan). The whole thing is on my github. Please give any feedback related (but not limited) to style, functiona...

  3. Sine function in C - Code Review Stack Exchange

    Here is the custom sine, pow and factorial functions I wrote (assume they are all part of the same namespace and not using cmath). I looking for suggestions to improve robustness and efficiency. For …

  4. Find an unknown length using sohcahtoa (Trigonometry)

    Oct 27, 2017 · Here is a calculator for an unknown side in a right-angle. Is there a more efficient way of doing this? import math def trigonometry (angle, side_length, known, unknown): o, h, a = 'opposite', '

  5. Math equation as string to reverse Polish notation parser

    May 1, 2014 · What I am looking to do next is add in higher functions, more in-line with a scientific calculator, starting with the constants such as e and pi, then moving into trig functions. It is in …

  6. Create a Penrose tiling - Code Review Stack Exchange

    Aug 19, 2023 · You take trig functions of 18° + k × 72°, and a handful of other angles. So memoize those values, and move on to larger concerns.

  7. Functions to check if a number is a multiple of another, get all the ...

    Jun 14, 2025 · Functions to check if a number is a multiple of another, get all the even numbers in a list, and all the odd numbers in a list Ask Question Asked 9 months ago Modified 9 months ago

  8. Ti-84+CE Reverse Polish Notation Progam - Code Review Stack Exchange

    Apr 5, 2021 · A few weeks ago, I wrote a Reverse Polish Notation program for my Ti-84+CE calculator. It was a successor to a program I wrote in TI-BASIC a while back, but since that one had too much …

  9. Generate array with random numbers and search for an element in it

    Jul 1, 2018 · What is trig for? amount is both the size of the array and the range of random numbers to use? Is that a coincidence? I think you over-complicated the logic of printing out the results. Printing …

  10. Apply placeholders to an array in a loop for pdo statements for search ...

    Dec 9, 2023 · Apply placeholders to an array in a loop for pdo statements for search functions with unknown numbers of keywords Ask Question Asked 2 years, 3 months ago Modified 2 years, 3 …