Tax Calculator (conditional flow control)
MATLAB
`Hey,
Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries
function [totalTax,effectiveTaxRate]=incomeTax(Income)
totalTax=0;
in=Income;
Income=Income-6300-4000;
if(Income<=9225)
totalTax=0.1*Income;
elseif(Income<=37450)
totalTax=0.1*9225.0+0.15*(Income-9225);
elseif(Income<=90750)
totalTax=0.1*9225.0+0.15*(37450-9225)+0.25*(Income-37450);
elseif(Income<=189300)
totalTax=0.1*9225.0+0.15*(37450-9225)+0.25*(90750-37450)+0.28*(Income-90750);
elseif(Income<=411500)
totalTax=0.1*9225.0+0.15*(37450-9225)+0.25*(90750-37450)+0.28*(189300-90750)+0.33*(Income-189300);
elseif(Income<=413200)
totalTax=0.1*9225.0+0.15*(37450-9225)+0.25*(90750-37450)+0.28*(189300-90750)+0.33*(411500-189300)+0.35*(Income-411500);
else
totalTax=0.1*9225.0+0.15*(37450-9225)+0.25*(90750-37450)+0.28*(189300-90750)+0.33*(411500-189300)+0.35*(413200-411500)+0.396*(Income-413200);
end
totalTax=totalTax
effectiveTaxRate=totalTax/in;
end
Kindly revert for any queries
Thanks.
Tax Calculator (conditional flow control) MATLAB Tax Calculator (conditional flow control) 0 solutions submitted (max: Unlimited) The simplest income tax calculation for a single person filing federa...
Mary Jarvis is a single individual who is working on filing her tax return for the previous year. She has assembled the following relevant information: Video Excel Online Structured Activity: Personal taxes Mary Jarvis is a single individual who is working on filing her tax return for the previous year. She has assembled the following relevant information: • She received $96,000 in salary. • She received $18,500 of dividend income. • She received $7,700 of interest income on Home Depot...
Mary Jarvis is a single individual who is working on filing her tax return for the previous year. She has assembled the following relevant information: She received $125,000 in salary. She received $12,500 of dividend income. She received $7,200 of interest income on Home Depot bonds. She received $22,000 from the sale of Disney stock that was purchased 2 years prior to the sale at a cost of $5,200. She received $15,000 from the sale of Google stock that was...
Instructions: Add radio button options for filing status to the tax calculator program of Project 1. The user selects one of these options to determine the tax rate. The Single option’s rate is 20%. The Married option is 15%. The Divorced option is 10%. The default option is Single. Be sure to use the field names provided in the comments in your starter code. Given Code: It also gives us the code for a module but that is like 3000...
1) Calculate the tax liability of a single taxpayer who has a gross income of $44,500. (Hint use Table 4-2, and DO NOT forget to subtract the value of the standard deduction and one exemption) 2) What would be the marginal tax rate for a single person who has a taxable income of:$42,410, $48,750, $58,250 and $92,000 (Hint use table 4-2) This will be a percentage. Take the percentage directly from the table. 3) Find the tax liabilities based on the taxable...