Anonymous user
Find the intersection of two lines: Difference between revisions
Find the intersection of two lines (view source)
Revision as of 09:23, 19 December 2020
, 3 years ago→{{header|APL}}
m (→{{header|APL}}) |
m (→{{header|APL}}) |
||
Line 246:
⍝ APL has a powerful operator the « dyadic domino » to solve a system of N linear equations with N unknowns
⍝ We use it first to solve the a and b, defining the 2 lines as y = ax + b, with the x and y of the given points
⍝
⍝ 0 = 4a + b
⍝ 10 = 6a + b
|