Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
388 B · 11 lines
at develop
1234567891011% testing the exponential distribution for both float and integer lambdasvar float: x;var float: y;float: myFloat1 = exponential(0.5); % exponential distribution with float lambdafloat: myFloat2;myFloat2 = exponential(9); % exponential distribution with int lambdaconstraint x + y < myFloat1;constraint x + y > myFloat2;solve satisfy;output ["x = ", show(x), "\ny = ", show(y)];