Tuesday, August 12, 2008

Sunday, August 3, 2008

activity 3

I.)

1.) If E is a variable or constant then prefix(E)=E
2.) If E is E1 op E2 then prefix(E)=prefix(E1opE2)=op prefix(E1) prefix(E2)
3.) If E is (E1) then prefix(E)=prefix(E1)

II.)

1.) If E is a variable or constant then infix(E)=E
2.) If E is E1E2op then infix(E)=infix(E1E2op)=infix(E1) op infix(E2)
3.) If E is (E1) then infix(E)=infix(E1)

III.)

1.) If E is a variable or constant then prefix(E)=E
2.) If E is E1E2op then prefix(E)=prefix(E1E2op)=op prefix(E1) prefix(E2)