Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
What is the expiation for breaking fast due to being on a journey, or being sick, or being in a state of menstruation?
No expiation is due on the aforesaid categories, but they are obliged to make up for the missed fast. However, if any of them failed to do so while being able to, and the next Ramadhaan has come, then making up for those days is incumbent on him/her , and paying the ransom as well. And Allah Knows Best.
I am an author, and I have books stored with me. Is it permissible to pay my zakat in the form of books containing beneficial knowledge for poor students, such as chemistry and mathematics, or religious books that spread Islamic sciences?
Zakat on wealth must be paid in cash from the wealth itself. Therefore, you should pay your zakat in monetary form so that the poor can purchase what they need. And Allah Knows Best.
Is it permissible to trim the eyebrows if they become excessively long?
Trimming eyebrows is permissible if they become excessively long, yet; it is reprehensible. And Allah Knows Best.