Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • 1
    \$\begingroup\$ Your examples only have multiples of 90 degs in them. Is this true for our programs as well, or do they have to deal with arbitrary angles? \$\endgroup\$ Commented Oct 26, 2015 at 4:25
  • 11
    \$\begingroup\$ How much precision is required? \$\endgroup\$ Commented Oct 26, 2015 at 4:35
  • 2
    \$\begingroup\$ Can we take input as two complex numbers? \$\endgroup\$ Commented Oct 26, 2015 at 4:51
  • 5
    \$\begingroup\$ What should the output be if one point is (0,0)? \$\endgroup\$ Commented Oct 26, 2015 at 5:28
  • 3
    \$\begingroup\$ Hint: The angle between AO and BO would usually be called angle AOB. \$\endgroup\$ Commented Oct 26, 2015 at 15:56