Approximate Identification and Control Design: With application to a mechanical system