Answered step by step
Verified Expert Solution
Question
1 Approved Answer
USING MATLAB SOLVE THE SOLUTION A simple version of how income tax is calculated could be based on the following table: Taxable income Tax Payable
USING MATLAB SOLVE THE SOLUTION
A simple version of how income tax is calculated could be based on the following table: Taxable income Tax Payable $10000 or less 10% of taxable income Between $10000 and $1000 + 20% of amount by which $20000 taxable income exceeds $10,000 More than $20000 $3000 + 50% of amount by which taxable income exceeds $20,000 The tax payable on a taxable income of $30,000, for example, is: Tax = 3,000 + 0.5* (30,000-20,000) = 8,000. Question 1 By using while loop and logical vector (no if-else), calculate the total tax need to be paid by the following people: Income (RM) 15,000 9,500 joe 13,000 dodo 7,000 100,000 Question 2 Using fprintf display the output as the following format, "Tax need to be paid byStep 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