Python Computer Language 1040 Form ***There needs to be comments/commentary on the code-explaining the code*** Step 1. Calculate the standard deduction. For this problem we are going to assume only two marital status positions. If you are single you get a $12,200 standard deduction. If you filed married you get a $24,400 standard deduction. Step 2. Calculate the adjusted gross income. To calculate your taxes owed, you take the wages and subtract the standard deductions. This gives you your adjusted gross income (AGI). Step 3. Calculate the tax refund or taxes owed. You then use the tables below with the AGI to calculate the taxes. If the taxes are greater then what was paid, you owe taxes. If the taxes were less, you get a refund.
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Python Computer Language
1040 Form
***There needs to be comments/commentary on the code-explaining the code***
Step 1. Calculate the standard deduction. For this problem we are going to assume only two marital status positions. If you are single you get a $12,200 standard deduction. If you filed married you get a $24,400 standard deduction.
Step 2. Calculate the adjusted gross income. To calculate your taxes owed, you take the wages and subtract the standard deductions. This gives you your adjusted gross income (AGI).
Step 3. Calculate the tax refund or taxes owed. You then use the tables below with the AGI to calculate the taxes. If the taxes are greater then what was paid, you owe taxes. If the taxes were less, you get a refund.
![Single filers
Tax rate
Taxable income
Tax owed
bracket
10%
$0 to $9,875
10% of taxable income
$987.50 plus 12% of the amount over
12%
$9,876 to $40,125
$9,875
$40,126 to
$4,617.50 plus 22% of the amount
22%
$85,525
over $40,125
$85,526 to
$14,605.50 plus 24% of the amount
24%
$163,300
over $85,525
$163,301 to
$33,271.50 plus 32% of the amount
32%
$207,350
over $163,300
$207,351 to
$47,367.50 plus 35% of the amount
35%
$518,400
over $207,350
$156,235 plus 37% of the amount over
37%
$518,401 or more
$518,400](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fb2225045-11e2-4354-8f42-9a009a9edd9c%2Fbb28b09a-d1fc-499e-a3fe-1399d71acac9%2Fwmnqzhc_processed.png&w=3840&q=75)
![Married, filing jointly
Tax rate
Taxable income
Tax owed
bracket
10%
$0 to $19,750
10% of taxable income
$19,751 to
$1,975 plus 12% of the amount over
12%
$80,250
$19,750
$80,251 to
$9,235 plus 22% of the amount over
22%
$171,050
$80,250
$171,051 to
$29,211 plus 24% of the amount over
24%
$326,600
$171,050
$326,601 to
$66,543 plus 32% of the amount over
32%
$414,700
$326,600
$414,701 to
$94,735 plus 35% of the amount over
35%
$622,050
$414,700
$167,307.50 plus 37% of the amount
37%
$622,051 or more
over $622,05o](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fb2225045-11e2-4354-8f42-9a009a9edd9c%2Fbb28b09a-d1fc-499e-a3fe-1399d71acac9%2Fd3azlcb_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)