Pascal's triangle/Puzzle: Difference between revisions

Content added Content deleted
(→‎{{header|jq}}: Algebraic solution)
Line 1,762: Line 1,762:


These two occasions can solved trivially, but for fun, let's use the linear equation solver
These two occasions can solved trivially, but for fun, let's use the linear equation solver
at https://rosettacode.org/wiki/Cramer%27s_rule#jq
at [[Cramer%27s_rule#jq]]:
<syntaxhighlight lang=jq>
<syntaxhighlight lang=jq>
include "rc-cramers-rule";
include "cramers-rule";


cramer([[1,1], [2,1]] ; [13, 18])
cramer([[1,1], [2,1]] ; [13, 18])