Roots of a cubic polynomial: Difference between revisions

m
no edit summary
imported>Raygis 10842
mNo edit summary
Line 13:
 
roots: [1,1,1]
 
 
matrix: [[1,-1,0], [0,1,-1],[0,0,1]]
 
polynomial: [a,b,c,d] =[1, -3,+3, -1]
 
roots: [1,1,1]
 
 
 
Line 798 ⟶ 790:
 
=={{header|Raku}}==
<small>(as recovered from pdf uploads)</small>
<syntaxhighlight lang="raku">
my \r = 1/sqrt(2);
Anonymous user