Summarize the following:
Individuals suffering from a broken femur are encouraged to try exercises that may aid in strengthening the femur and restore its normal function. These exercises can be utilized to divert sensations of pain and regulate proper circulation of blood to different parts of the body, including the affected parts around the femur.  You should discuss the suitability of all exercises with your physical therapist before trying them. Generally, the following exercises must be performed 3 times a day, provided that they do not contribute to increased pain: Doing hip and knee bends will increase the flexibility of your quadriceps and hamstrings, helping to restore mobility and function.  Lie on a flat surface with the head elevated 30 to 45 degrees on a pillow. As far as is possible and comfortable, bend the affected knee towards the chest. Return to your starting position. Repeat this 10 to 20 times provided that there is no pain increase. This is a low-stress exercise that is good as a starting point for strengthening.  Lie on a flat surface with a towel under the affected leg. Start by tightening the front thigh muscles (quadriceps) by pushing the knee in a downward motion into the towel. Hold for 5 seconds. Place the middle and pointer finger on the inner quadriceps in order to feel the tightening of muscles. This will make sure that proper tightening is accomplished. Repeat tightening the front thigh muscles and holding them for 5 seconds for 10 repetitions. Exercise and muscle movement promotes good blood circulation and oxygen distribution to the affected area. This will speed up the repair of the damaged tissue around the femur. This is because oxygen is essential for maintaining cellular integrity, function, and repair when tissues are injured.   Most femoral fractures take four to six months to completely heal. Even with proper treatment, the length of recovery will depend on the severity of the fracture and the presence of other injuries to the body.

Summary:
Try physical therapy to regain your strength after surgery. Do hip and knee bends to strengthen the muscles. Try static quadriceps contraction. Know that exercise will help the healing process.