The course covers mathematical and numerical aspects of cardiac physiology. The course is composed by 4 lectures in total. The first lecture will focus on electrophysiology. We will present the bidomain model and its derivation from basic principles, and excitation waves solutions associated to it. We will also cover simplified models such as the monodomain and eikonal models. The second lecture is on the numerical discretization and computational aspects for the bidomain model. The third lecture is devoted to cardiac mechanics and the electro-mechanic and mechano-electric coupling. Finally, the last lecture will focus on applications of clinical interest, including ECG simulation, cardiac resynchronization therapy and atrial fibrillation.