I want to calculate which of two doses is going to have the most active ingredient over the total time of an experiment.
So as an example let's say I have a drug which has a halflife of 5 hours, and I am considering two doses, a single 10mg every 48 hours, or two 5mg doses taken 24 hours apart. Which one of these is going to have the most active ingredient taking into account the half life/decay of the drug over the 48 hour timeframe? I guess this would be the average concentration over 48 hours.
If someone give me a step by step example of the math I need that would be great!

There are different solutions to different problems.
You can be willing to know which solution will provide you with the maximum average drug in the system during 48 hours (problem 1).
Or you can be willing to know which solution will provide with the highest drug quantity remaining in the system when the 48 hours are expired (problem 2).
In any case you need to know the amount of drug vs time.
It is of the form $$D(t)=D_0 \times e^{-\frac tT}$$ with $T$ a factor such that $e^{-\frac 5T}=\dfrac 12$ (the amount of drug is divided by 2 after 5 hours).
Then you solve (problem 2) very easily, since you have to compare both $D(48)$ (just pay attention to the fact that in one case you add 5mg only after 24 hours, so you may have to add two terms)
The (problem 1) requires to compute the average drug quantity in the system during the period. This requires to do integral calculus.
Let's call $M$ the average drug quantity in the system over the period $\tau$
$$M=\dfrac{1}{\tau} \int_{0}^{\tau}D(t)dt$$
Of course you have two different conditions in one case, so in that case you need to do the math for the first 24 hours with the initial conditions, and the last 24 hours with the new conditions (no such things when you put from the beginning the 10mg of drug).
Can you take it from here?