A method of preparing a femur and tibia in surgery on a knee joint using a navigation system and a robotic system. The navigation system tracks movement of the femur and tibia during the surgery. The robotic system includes a cutting tool for cutting away material from the femur and tibia. Femoral and tibial implants on installed on the femur and tibia.