Update use-case-8

Co-authored-by: Ezequiel Bellver <ebellver@itba.edu.ar>
Co-authored-by: Juan Barmasch <jbarmasch@itba.edu.ar>
This commit is contained in:
Santiago Lo Coco 2022-04-19 12:48:12 -03:00
parent 22a31f7637
commit bdc480a7c9
1 changed files with 6 additions and 2 deletions

View File

@ -1,2 +1,6 @@
fun f = f(3) * x * 4 + 3;
fun g = f(3) + f'(3)*(x-3) + f''(3)/2 * (x-3)^2 + f'''(3) / 6 * (x-3)^3 + f''''(3) / 24 * (x-3)^4;
fun f = x^2;
fun g = derivative f in (x);
fun h = f(x) - int f (0 ~ 1);
for (var i = 0; i <= 1; i += 0.1) {
print(g(i));
}