Roots of a function: Difference between revisions

Content added Content deleted
No edit summary
Line 702: Line 702:
=={{header|Dart}}==
=={{header|Dart}}==
{{trans|Scala}}
{{trans|Scala}}
<lang dart>import 'dart:async';
<lang Dart>import 'dart:async';


double fn(double x) => x * x * x - 3 * x * x + 2 * x;
double fn(double x) => x * x * x - 3 * x * x + 2 * x;