Casting a laptop's screen with a TV is pretty straightforward This article explains how to mirror a laptop to a TV both ...
While you can use an app like AirServer to mirror your iPhone to your computer and then cast your computer’s screen to your TV, this approach is far from practical and should only be a last resort.