Home > utility > taxCurve.m

taxCurve

PURPOSE ^

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 max=250;
0002 income=1:max;
0003 out=zeros(max, 1);
0004 for i=1:max
0005     if i<=37
0006         out(i)=i*6/100;
0007     elseif i<=99
0008         out(i)=i*13/100-2.59;
0009     elseif i<=198
0010         out(i)=i*21/100-10.51;
0011     elseif i<=372
0012         out(i)=i*30/100-28.33;
0013     else
0014         out(i)=i*40/100-65.53;
0015     end
0016 end
0017 
0018 plot(income, out, '.-');

Generated on Tue 01-Jun-2010 09:50:34 by m2html © 2003