Hi,
The following links can help you get started with supervised learning.
Regarding the example
Learning generally create a functional mapping from the input to output. Likewise you can apply learning in many cases in mechanical engineering where creating mathematical models,functional mapping are difficult. You can apply learning in such cases.
Hope this helps!