Click here to Skip to main content
15,911,891 members
Everything / Trigonometry

Trigonometry

trigonometry

Great Reads

by Jakub Szymanowski
The article presents idea and implementation of Fourier Transform (DFT and FFT algorithms) in Digital Signal Processing.
by Petr Ivankov
Multidisciplinary paradigm of software development

Latest Articles

by Jakub Szymanowski
The article presents idea and implementation of Fourier Transform (DFT and FFT algorithms) in Digital Signal Processing.
by Petr Ivankov
Multidisciplinary paradigm of software development

All Articles

Sort by Score

Trigonometry 

29 Nov 2017 by OriginalGriff
Start with Pythagoras: x2 + y2 = z2 You are given the width x and height y of the triangle, so you can calculate z: z = Square Root(x * x + y * y) You now need to know the ratio of this triangle to a triangle with a z of 1: z1 = 1 / z; You can then multiply x and y by z1 and you have the values.
24 Nov 2020 by Gerry Schmitz
Quote: For points on the boundaries of the quadrants, the return value is the following: If y is 0 and x is not negative, θ = 0. If y is 0 and x is negative, θ = π. If y is positive and x is 0, θ = π/2. If y is negative and x...
1 May 2012 by Sumal.V
Hello all, If someone knows about deciding the bearing direction, given latitude and longitude, that would be helpful. I don't quite get the logic. here's an example. Point 1:Latitude: 41°15'18.000000"NLongitude: 76°00'0.000000"WPoint...
30 Apr 2012 by Peter_in_2780
The angles are NOT exactly 180 degress apart in general (add 180, mod 360), although that is reasonably close over short distances.Get all the detail (and maths as heavy as you could ever wish for!) here[^]Cheers,Peter
25 Feb 2017 by Member 13023859
I am making a Javascript program that includes physics but the projectile formula is very difficult for me to get right. My code looks something like this //VARIABLES//speedvar speed = 0;//anglevar angle = 0;//previous coord logvar pballx = 0;var pbally = 0;var ppballx...
25 Feb 2017 by Patrice T
reread your code ! if(ballx+ballsize/2 >= mouseX){ if(mouseX >= ballx-ballsize/2){ if(mouseY >= bally-ballsize/2){ // this line is the same as if(mouseY >= bally-ballsize/2){ // this one ballx = mouseX; ...
29 Nov 2017 by Member 13548722
void computeXY(double p[2],int x,int y) -imagine the x y values being the width and height of a triangle -the function should set p to the width and height of that triangle when the hypotenuse is 1 -should basically divide x and y by the hypotenuse of the triangle they make -p[0] = x -p[1] = y...
29 Nov 2017 by KarstenK
At first you should understand the task, for that inform about trigonometry. Your width and height are the input for the math at a right angled triangle. With the law of pythagoras you will get the hypothenuse. With that result you divide and set the output into the pointers. Use float for...
24 Nov 2020 by Tjohohan
trigonometry, programming, atan2[^] I was doing an animated GIF in python (pixel fractal) got stuck on an angle did angle on a plane web searched found atan2 its puzzling to me how atan2 can give angle zero when all three points sits on origo...
11 Mar 2021 by Marcus Neves
Here in C# ... public static List Bulge2IJ(double X1, double Y1, double X2, double Y2, double Bulge, Config config) { double C = 0; //lunghezza della corda - length of the cord double H = 0;...
6 Jul 2023 by Ronald Veldman
I am writing an application in VB.net to convert a DXF file to GCode for my GRBL laser. I know there are many free or low cost programs out there, but I want this program to work in a very specific way (for too many reasons to explain here). I have been working on this program for about 6...
6 Mar 2016 by Jakub Szymanowski
The article presents idea and implementation of Fourier Transform (DFT and FFT algorithms) in Digital Signal Processing.
10 Dec 2013 by Petr Ivankov
Multidisciplinary paradigm of software development