KFormula is a formula editor for KOffice and can be used to create and edit mathematical formulas that can be included in other KOffice documents.
It provides simple input facilities and supports the functionality you expect from a KOffice application.