Author Topic: How to calculate nor mathematics? nor (<AOC)  (Read 1808 times)

0 Members and 1 Guest are viewing this topic.

well20152016

  • Newt
  • Posts: 130
How to calculate nor mathematics? nor (<AOC)
« on: December 18, 2017, 06:19:09 PM »
Prerequisite:
point A ,
point O ,
point B ,
<AOB=90,
<AOC=90,
<COB=90,

Result: nor (<AOC)

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2132
  • class keyThumper<T>:ILazy<T>
Re: How to calculate nor mathematics? nor (<AOC)
« Reply #1 on: December 18, 2017, 06:30:20 PM »

I can't understand what you are trying to do ... Do you want to establish some sort of truth table regarding angle equality ??

Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

Lee Mac

  • Seagull
  • Posts: 12912
  • London, England
Re: How to calculate nor mathematics? nor (<AOC)
« Reply #2 on: December 18, 2017, 06:30:49 PM »
Use the vector cross product - there are plentiful examples on the forum.

ssdd

  • Newt
  • Posts: 35
Re: How to calculate nor mathematics? nor (<AOC)
« Reply #3 on: December 18, 2017, 06:32:56 PM »
Code - Auto/Visual Lisp: [Select]
  1. (setq nor (v^v (setq x (mapcar '- pt3 pt1)) (mapcar '- pt2 pt1)))
  2.   (defun v^v ( u v )
  3.     (mapcar '(lambda ( n ) (- (* (nth (car n) u) (nth (cadr n) v)) (* (nth (cadr n) u) (nth (car n) v)))) '((1 2) (2 0) (0 1)))
  4.   )



EDIT (John 7 Kaul): Added code tags.
« Last Edit: December 22, 2017, 06:56:54 AM by John Kaul (Se7en) »

well20152016

  • Newt
  • Posts: 130
Re: How to calculate nor mathematics? nor (<AOC)
« Reply #4 on: December 21, 2017, 06:35:26 PM »
Thank you for kdub, Lee Mac, ssdd.
But I'm not good at math. Who can help me?

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2132
  • class keyThumper<T>:ILazy<T>
Re: How to calculate nor mathematics? nor (<AOC)
« Reply #5 on: December 21, 2017, 09:05:44 PM »

Have a look at something like this.
https://www.mathsisfun.com/algebra/vectors-cross-product.html

I'd like to see a better description of your actual problem.

... this will help others to be of more assistance.
Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.