The convergence of vehicular communications, 5th generation mobile network (5G) technology, and edge computing marks a paradigm shift in intelligent transportation. Vehicular communication systems, including Vehicle-to-Vehicle and Vehicle-to-Infrastructure, are integral to Intelligent Transportation Systems. The advent of 5G enhances connectivity, while edge computing brings computational processes closer to data sources. This synergy holds the potential to revolutionize transportation efficiency and safety. This research investigates vehicular communication and edge computing dynamics within a 5G network, considering varying distances between On Board Units and Roadside Units. Energy consumption patterns and CPU load at the RSU are analyzed through meticulous real-world experiments and simulations. Our results show stable energy consumption at shorter distances, with fluctuations increasing at greater ranges. CPU load correlates with communication distance, highlighting the need for adaptive algorithms. While experiments exhibit higher variability, our simulations validate these findings, emphasizing the importance of considering transmission range in vehicular communication network design.