Powers of 2

This example illustrates multiplication by a factor of 2 using PHP.

x = 3
2x=6
x = 3
x = 6