standard_description: Use data from a randomized experiment to compare two treatments; use simulations to decide if differences between parameters are significant.
problem_activity: When Janaya started working, she researched how income tax was determined. She read that income up to and including $10,000 is taxed at a rate of 10%. Any income over $10,000 and up to and including $40,000 is taxed at a rate of 15%. For example, if Janaya earned $11,000 in one year, the first $10,000 would be taxed at a rate of 10% and the last $1,000 would be taxed at a rate of 15%.
How much income tax would Janaya pay if she earned $15,000 in one year?
Write a piecewise function to represent the situation.
How much more income tax would a person who earns $30,000 pay than a person who earns $10,000 in one year?


aligns: no