I have a function:
u[r_] := 1/2*(uj + u∞) -
1/2*(uj - u∞)*Tanh[1/4*Rθ*(r/R - R/r)]
Where:
uj = 1;
u∞ = 0;
R = 1;
I want to plot:
Plot[(u[r/R] - u∞)/(uj - u∞), {r, 0, 3},
PlotRange -> All]
But for three different values of parameters Rθ
, some like that:
Plot[(u[r/R] - u∞)/(uj - u∞), {r, 0, 3},
PlotRange -> All] /.{Rθ->10,Rθ->5,Rθ->2.5}
How to do that?
u[uj_, u∞_, R_, Rθ_, r_] := 1/2*(uj + u∞) - 1/2*(uj - u∞)*Tanh[1/4*Rθ*(r/R - R/r)]
$\endgroup$ – J. M.'s ennui♦ Feb 27 '19 at 0:34