What is Maya Angelou's purpose for writing I Know Why the Caged Bird Sings?

to teach readers how to write as she does
to convince readers that pursuing a formal education is a waste of time
to entertain readers with funny stories about her marriage
to inform readers about the formative events in her early life