Roots of a function: Difference between revisions

Content deleted Content added
m →‎{{header|Octave}}: lang matlab to lang octave; even since a lot of langs got messed up with the geshi update:/ (matlab too, it seems)
m →‎{{header|Python}}: use trans templ
Line 498: Line 498:


=={{header|Python}}==
=={{header|Python}}==
From Perl:
{{trans|Perl}}
<lang python>f = lambda x: x * x * x - 3 * x * x + 2 * x
<lang python>f = lambda x: x * x * x - 3 * x * x + 2 * x