uaveiro-leci/3ano/1semestre/mpei/aula02/part1/ex1.m

9 lines
233 B
Mathematica
Raw Permalink Normal View History

a = CalculateProbMinEq(1,2,1e5);
d = CalculateProbMinEq(2,2,1e5);
e = CalculateProbEqual(1,4,1e5);
f = CalculateProbMinMaxEq(1,2,4,1e5);
fprintf("a) %.3f\n", a)
fprintf("d) %.3f\n", d)
fprintf("e) %.3f\n", e)
fprintf("f) %.3f\n", f)