### Approximating Sine(x) with a Taylor series in C and having a lot of problems?

I'm trying to approximate sine(x) in C using a Taylor series and Stirling's approximation for factorials but I'm ge...

### Implementing Taylor Series for sine and cosine in C?

I've been following the guide my prof gave us, but I just can't find where I went wrong. I've also been going throu...

### Sine Wave Sound Generator in Java?

What's the simplest way to generate a sine wave sound at any frequency in Java? A sample size more than 2 bytes woul...

### How to use the PI constant in C++?

I want to use the PI constant and trigonometric functions in some C++ program. I get the trigonometric functions wit...

### Stable Cotangent?

Is there a more stable implementation for the cotangent function than return 1.0/tan(x);? ...

### Get center of a square based on the 4 corners?

I have a problem with my code, which should give me the center of a square. The square is saved as it's corners in a...

### Inverse of Tan in python (tan-1)?

I am trying to calculate the inverse of tan in python, but it does not give me the correct value, for example, if I ...