Please, would any one help me and write a code for estimating weibull parameters using the method of moments
Do a web search.
The above web page shows how. Have a go yourself and come back if you need more help.
Usually we like those we are trying to help to attempt something first. All you need is to enter the formula and use a solve block.
Just this once.I'll do it for you in Mathcad 15