You can put this solution on YOUR website! this is too large a question for here...there are whole chapters in books on this.
Read a textbook and your notes (hopefully good) and then come back with a specific question that i can help with.
cheers
Jon.