2 s
5 s
and10 s
100 °C
20 °C
0.07
0 s
to 100 s
eulersMethod
should be a function.
testString: assert(typeof eulersMethod === 'function');
- text: eulersMethod(0, 100, 100, 2)
should return a number.
testString: assert(typeof eulersMethod(0, 100, 100, 2) === 'number');
- text: eulersMethod(0, 100, 100, 2)
should return 20.0424631833732.
testString: assert.equal(eulersMethod(0, 100, 100, 2), 20.0424631833732);
- text: eulersMethod(0, 100, 100, 5)
should return 20.01449963666907.
testString: assert.equal(eulersMethod(0, 100, 100, 5), 20.01449963666907);
- text: eulersMethod(0, 100, 100, 10)
should return 20.000472392.
testString: assert.equal(eulersMethod(0, 100, 100, 10), 20.000472392);
```