An example of calculating power and the probability of a Type II error (beta), in the context of a Z test for one mean. Much of the underlying logic holds for other types of tests as well.
If you are looking for an example involving a two-tailed test, I have a video with an example of calculating power and the probability of a Type II error for a two-tailed Z test at • Calculating Power and the Probability... .