Several factors can affect the function of the cardiac muscle, including: - Electrolyte Imbalances: Abnormal levels of potassium, calcium, and sodium can affect heart function. - Ischemia: Reduced blood flow can lead to myocardial infarction, commonly known as a heart attack. - Hormones: Hormones such as adrenaline can increase heart rate and contractility. - Medications: Drugs like beta-blockers and calcium channel blockers can alter heart function.