Welcome! Please read this topic to see how to post code correctly and other useful info for newcomers.
Why do you "need to be able to do" something that you don't have the math or foundational education (or maturity?) to know how to do? The function of this forum is not to teach but to guide, correct, provide other resources, etc. If you need to learn new skills or knowledge, then you should go to a class or buy a book or other resource and teach yourself.
Oh, sorry my mistake. I should have read the information provided to this website first, before i posted this. Terribly sorry, but thank you for replying so quickly informing me of my mistake. :L