Dawn is writing a computer program to find the salaries of her employees after their annual raise. The percentage of increase is represented by p in the program. Marty's salary is $23,450 now. Write a polynomial to represent Marty's salary in one year and one to represent Marty's salary after three years. Assume that the rate of increase will be the same for the next three years.

after one year

S = 23450(1 + p/100)

after 3 years
S = 23450(1 + p/100)^3

To write the polynomial representing Marty's salary in one year, we need to increase his current salary by the given percentage of increase, represented by 'p'. Since Marty's current salary is $23,450, the polynomial representing his salary after one year would be:

New Salary after one year = 23,450 + 23,450 * p

Now, to find the polynomial representing Marty's salary after three years, we need to apply the percentage increase for three consecutive years. The general formula for calculating the percentage increase for n years is:

New Salary after n years = initial salary * (1 + p)^n

In this case, Marty's initial salary is $23,450, and the percentage increase is represented by 'p'. Hence, the polynomial representing his salary after three years would be:

New Salary after three years = 23,450 * (1 + p)^3

Therefore, the polynomial representing Marty's salary after one year is 23,450 + 23,450 * p, and the polynomial representing his salary after three years is 23,450 * (1 + p)^3.