Skip to content
Snippets Groups Projects
Commit e6c4fd0d authored by RADELLAH Badr's avatar RADELLAH Badr
Browse files

Ex4 - Q3

parent 0500363c
No related branches found
No related tags found
No related merge requests found
package formula;
public class FormulaCalculator {
public static void generatePoints(Formula formula, Variable variable, double startValue, double endValue, double step) {
for (double i = startValue; i <= endValue; i += step) {
variable.set(i);
System.out.println(i + " " + formula.asValue());
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment