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

    Apr 14, 2021 · Implementation of the trigonometric functions for real time application Ask Question Asked 4 years, 7 months ago Modified 4 years, 6 months ago

  2. Basic Trigonometry written in python3 - Code Review Stack …

    Below is the code I wrote to perform basic Trigonometry without using the math module (except for 1 place) for the purpose of teaching myself basic trig and to improve my python.

  3. 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 …

  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 …

  5. Trim Functions in COBOL - Code Review Stack Exchange

    A coworker, from a past programming life, called me up last week and asked about Trim Functions in COBOL. I sent her these PEFORMed "functions", which I've had lying about and …

  6. Create a Penrose tiling - Code Review Stack Exchange

    Aug 19, 2023 · As mentioned in the comments, memoize the trig functions (basically make a local cache in setup). Use angle % 360 as key to get memoized values. In the switch, cases 2 and 3 …

  7. Setting new lines and adding them to a list to be drawn

    May 22, 2015 · Do you know about radians? Math.Cos (and the other trig functions in .Net) are based on radians not degrees. Math.Cos(90) radians is roughly Math.Cos(5157) in degrees. …

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

    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 …

  9. Find and replace a string in C/C++ without using standard library

    Jan 27, 2020 · If you are unsure how to split your while loop, you could let the example above using the C library primitives guide you. Or you could do it blind and find out if you end up with …

  10. C++ custom string class implementation - Code Review Stack …

    Sep 4, 2023 · I recently had an interview where I was tasked with implementing a custom C++ string class without using the STL. The interviewer provided the function signatures and …