I am trying to plot a piecewise function $f(x)= Ax^{-1.3}$ for $0.1<x<0.5$ and $f(x) = B x^{-2.35}$ for $0.5 <x <100$. I need to make sure the two plots intersect with each other and do not create a gap between the two functions. I think I have to scale or normalize it to 1. Could you please explain to me what is the best way to find the constants $A$ and $B$.
My math knowledge is high school level, so an explanation will really help