Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
What I am doing wrong. I am getting error while using the keyword
You can't solve for a function but only for a variable. But of course you can assign the result to a function and define it that way.
The modifier "explicit" has no effect if all used variables are undefined anyway. I used "factor" to get a result more similar to what you expect.
But the possibilities to influence the representation and form of the result of a symbolic evaluation are very limited.
