Answered step by step
Verified Expert Solution
Question
1 Approved Answer
need help with using matlab to finish this one ~ It's tax time! As a student, you might be exempt because you earn marginal to
need help with using matlab to finish this one ~
It's tax time! As a student, you might be exempt because you earn marginal to no income, but you will soon struggle with the rest of us. If you've been listening to the news, you have heard that there was a big tax bill passed at the end of 2017. This means new tax rates and tables for 2018 The U.S. federal tax rate system is "progressive," meaning that (generally) it enacts higher tax rates for higher incomes. Specifically, for 2018, the new rate table (for single filers) is: If your Taxable Income is Your top tax rate is And you will owe SO to $9,525 S9,525 to $38,700 S38,700 to $82,500 $82,500 to $157,500 $157,500 to $200,000 $200,000 to $500,000 | 35% $500,000+ 10% 12% 22% 24% 32% 10% of Taxable Income $952.50 plus 12% of the excess over $9,525 $4,453.50 plus 22% of the excess over $38,700 $14,089.50 plus 24% of the excess over $82.500 $32,089.50 plus 32% of the excess over $157,500 $45,689.50 plus 35% of the excess over $200,000 $150.689.50 plus 37% of the excess over $500,000 37% If you do not itemize deductions, then your taxable income is your total income minus your standard deduction, which is (updated for 2018) $12,000 In addition, Medicare taxes are levied on all income (total income) at a rate of 1.45% Also, social security tax is levied on all income (total income) at a rate of 6.2% However, this tax does not apply to income over $128,700. That is, it is "capped" at a value of 6.2% of 128,700 Write a function to calculate how much income tax a person will owe given their total income. The program input variable should be total income. The output variables should be total tax, portion of tax owed due to income alone, portion of tax owed due to Medicare, and portion of tax owed due to social security It's tax time! As a student, you might be exempt because you earn marginal to no income, but you will soon struggle with the rest of us. If you've been listening to the news, you have heard that there was a big tax bill passed at the end of 2017. This means new tax rates and tables for 2018 The U.S. federal tax rate system is "progressive," meaning that (generally) it enacts higher tax rates for higher incomes. Specifically, for 2018, the new rate table (for single filers) is: If your Taxable Income is Your top tax rate is And you will owe SO to $9,525 S9,525 to $38,700 S38,700 to $82,500 $82,500 to $157,500 $157,500 to $200,000 $200,000 to $500,000 | 35% $500,000+ 10% 12% 22% 24% 32% 10% of Taxable Income $952.50 plus 12% of the excess over $9,525 $4,453.50 plus 22% of the excess over $38,700 $14,089.50 plus 24% of the excess over $82.500 $32,089.50 plus 32% of the excess over $157,500 $45,689.50 plus 35% of the excess over $200,000 $150.689.50 plus 37% of the excess over $500,000 37% If you do not itemize deductions, then your taxable income is your total income minus your standard deduction, which is (updated for 2018) $12,000 In addition, Medicare taxes are levied on all income (total income) at a rate of 1.45% Also, social security tax is levied on all income (total income) at a rate of 6.2% However, this tax does not apply to income over $128,700. That is, it is "capped" at a value of 6.2% of 128,700 Write a function to calculate how much income tax a person will owe given their total income. The program input variable should be total income. The output variables should be total tax, portion of tax owed due to income alone, portion of tax owed due to Medicare, and portion of tax owed due to social securityStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started