Macroeconomics is the branch of economics that studies the behavior of aggregates, such as national income, unemployment, and inflation. It…