Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5988709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:59:48+00:00 2026-05-22T22:59:48+00:00

Say I have point A (20,20) and point B (60,60). The resulting vector would

  • 0

Say I have point A (20,20) and point B (60,60).

The resulting vector would be 40, 40. How could I get the angle of this vector?

By this I mean, imagine there is an imaginary circle around the origin.

I guess sort of what atan2 does but without atan2.

Thank

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T22:59:48+00:00Added an answer on May 22, 2026 at 10:59 pm

    I’m not sure what you mean by angle, since you only give one vector in your example. But, given two vectors, you can find the angle between them like so:

    Given vectors a and b, normalize both of them. Then, dot(a, b) = cos(θ), where θ is the angle between the two vectors. Use arccos to find θ.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say I have circle bouncing around inside a rectangular area. At some point
Say I have this XML, which repeats itself: <sample> <org.postgis.Point> <dimension>2</dimension> <haveMeasure>false</haveMeasure> <type>1</type> <srid>4326</srid>
Let's say I have a class Point: class Point { int x, y; public:
Say you have 100000000 32-bit floating point values in an array, and each of
Let's say i have a 2d linear grid and a point in said grid.
I have defined a variable with an own type, say Dim point As DataPoint
say I have this class: class animal { function noise() { print 'woof'; }
Lets say have this immutable record type: public class Record { public Record(int x,
Lets say I have point (x,y,z) and plane with point (a,b,c) and normal (d,e,f).
Let's say I have three 32-bit floating point values, a , b , and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.