Two dimensional structural optimization in presence of static and dynamic load conditions