Many schools are aware that technology and coding needs to be implemented more within their curriculum in order to have students become more literate in the heavily technology oriented society. Previously, researchers have investigated how programming can be introduced in a mathematics curriculum. Although there are many close connections between the two disciplines, teachers have found both advantages and disadvantages of programming that arise when it is introduced in a mathematics classroom. This presentation investigates the six effective methods to implement programming in a math class. These six methods include enforcing group work, emphasizing active engagement, creating visuals, emphasizing relevance to math, providing teacher generated code, and optimizing flow.