A unit of measurement for angles, which are two lines or rays diverging from a common point. Questions here regard angles measurements, arguments for trigonometric functions, geometry, etc.
Questions tagged [degrees]
264 questions
-1
votes
1 answer
How to create a unit vector of AB towards a number of degrees and calculate the angle between them?
Here you can see the Vector AB.
Goal: Make Vector AC to find out α
Problem: To find out the angle α I would first need a second vector AC that must point towards 190° and has the same length as the unit vector of AB. How do I create that Vector?
…

Dani_K
- 43
- 6
-1
votes
2 answers
Convert value from radians to degrees
I have programmed the following function:
def horizontal(yAngle, yAcceleration, xAcceleration):
a = (math.cos(yAngle)*yAcceleration)-(math.sin(yAngle)*xAcceleration)
return a
The problem is the following: math.cos() and math.sin() return…

mathflower
- 109
- 7
-1
votes
1 answer
Plot sine wave (degrees)
We're supposed to plot the sine wave with the help of Matplotlib but in degrees.
First we're supposed to get every sin(x) from 0-360 degrees, every ten degrees.
I'm a beginner, would really appreciate the help.
def getsin():
for i in…

struppis
- 11
- 1
-1
votes
1 answer
How can I use functions to complete the following table? I came close to having it solved, but I'm getting exception errors
[Code on SoloLearn Part 1][Code on SoloLearn Part 2]1[My Take Home Assignment [][1]2`
[Radians, Tangent, Sine, Cosine, and Degrees Table
import java.util.Scanner;
public class St_Johns_University
{
public static void main(String[] args) {
…
user12210296
-1
votes
1 answer
How to add a distance (in kilometers) to a location coordinate which is in degrees and minutes to obtain new location coordinate in a java?
I am writing a java program to generate a calculated distance from a mathematical formula. I want to add this value to a location coordinate value obtained from google maps in order to get the new location coordinate.How can i add the distance to…
-1
votes
1 answer
C#: convert GPS data from string to double
I'm doing project for reading metadata of images. How can I convert GPS data in string like Latitude: 34 deg 30' 28.71" N to decimal degrees in float or double in C#? to running process

HueNguyen
- 1
- 2
-1
votes
1 answer
Bearing range issue for 360 degree angles
So I'm calculating my bearings on a gui based on incoming degrees and everything works fine. Except now I'm trying to show an view range around that incoming bearing.
For example, the incoming bearing is 0 degrees, and my +/- view radius is 16…

bauervision
- 847
- 2
- 9
- 25
-1
votes
1 answer
Is it bad practice to keep increasing rotational degrees (over 360)
I am experimenting with a creative javascript framework P5.js and often times I'm using degrees to rotate a sphere. However, I do this by continuously increasing a variable and basing the rotation off of that variable. Is it a bad practice to…

Musa
- 406
- 3
- 11
-1
votes
4 answers
Convert standard 360-degree to atan2
I need to reverse calculation of standard 360 angle to atan2.
It's my standard angle calulation
Standard angle = (int) Math.toDegrees(Math.atan2(y,x));
if(angle < 0)
angle += 360;
I need Math.atan2 value from angle how to achieve that.

sabish
- 31
- 1
- 8
-1
votes
2 answers
Python: Convert map in kilometres to degrees
I have a pandas Dataframe with a few million rows, each with an X and Y attribute with their location in kilometres according to the WGS 1984 World Mercator projection (created using ArcGIS).
What is the easiest way to project these points back to…

carderne
- 199
- 4
-1
votes
1 answer
Converting distance (nautical miles) into degrees (Lat/Long)
I have entities in a simulation whose initial locations and paths are code using Java in decimal degrees. I need to scale the sensor radius (it's in nautical miles) and speed (nautical miles/hr) to match decimal degrees. The purpose is to…

WillyRobert
- 31
- 1
- 6
-1
votes
2 answers
T-SQL calculate longitude value for 1.0 according specific cordinates
As I it is shown here the value(how many km is) of one degree of longitude decrease as we move to the poles. I need a algorithm for calculating the current km that one degree of longitude is for given point (longitude and latitude).
Thank in…

gotqn
- 42,737
- 46
- 157
- 243
-2
votes
2 answers
Rotate table by 90,180,270 degrees in c#
I need to rotate table by 90,180,270 degrees and reset it to start at last option I must do it in switch but i have no idea how to do that because table must be in char. I found a lot of question about table in int but no one in char. I had this at…

Mequee
- 1
- 1
-2
votes
1 answer
how to make a script converting to radians the degree,seconds,minutes?
I am using python and I am having trouble making a script converting an angle with the degree,minutes,seconds given in radiant.
I already tried a few things but I am pretty new so I need help
-2
votes
1 answer
Math.sin incorrect results even when converted to degrees
I'm trying to use sin on a variable and I saw you can convert it by using / (Math.PI / 180) but that seems contradictory if you want to convert it to degrees.. How do I properly convert and use sin in degree form? (On an iPhone calculator, for…

Benn
- 55
- 1
- 1
- 8