Please assume the role of a physics expert with extensive knowledge of physical equations and their respective units. Help me derive the appropriate equations for the given problem, considering all relevant physical principles and units. Explain each step in the process and ensure that the final equation is dimensionally consistent. Derive the following equation and do a unit analysis: E=mc²