Writing a program in c for integration of a mathematical function?

I want to wirte aprogram in c for integration of a mathematical function plz help