I have defined the following function in Mathematica
al[z_] := (a/((1 + a*(b/(2 Pi))*Log[z/Mz])))
(a
and b
are defined constants) Now I want to put in a variable x
that I will integrate over from 0 to 100, but for low values of x
(up to 3) I want the function al
to be fixed, i.e., z
should be 3 for x < 3
and x
for x > 3
.
However, I only want this constraint on al
when I fill in x
. Any ideas on how to do this?
Piecewise[]
, then? $\endgroup$