Jump to content

Roots of a function: Difference between revisions

added J
(added J)
Line 277:
i = i + 1
END DO
 
=={{header|J}}==
 
J has builtin a root-finding operator, '''<tt>p.</tt>''', whose input is the (reversed) coeffiecients of the polynomial. Hence:
 
>{:p. 0 2 _3 1
2 1 0
 
=={{header|Java}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.