$X \sim N(12, \sigma^2)$ and $P(3<X<15) = 0.3$. Find the standard deviation $\sigma$.
If the question was: find $P(9<X<15) = 0.3$, then this would be easy using the inverse normal function. But I don't see how to use the inverse normal function for $P(3<X<15)$. I'm fairly sure the value of $\sigma$ is unique. If I were to guess, I would say $\sigma \approx 15$ or $20$.
It's not a book question: it's a question I came up with. And I don't see how to do it without maths I'm not familiar with, but I may just be lacking imagination for how to solve this.
You're solving the equation $$ \begin{aligned} 0.3 &= P\left( 3<X<15\right)\\ &=P\left(\frac{3-12}\sigma < \frac {X-12}\sigma<\frac{15-12}\sigma\right)\\ &=P\left(\frac{-9}\sigma<Z<\frac3\sigma\right)\\ &=\Phi\left(\frac3\sigma\right)-\Phi\left(\frac{-9}\sigma\right) \end{aligned} $$ for $\sigma$, where $\Phi$ denotes the distribution function for the standard normal. This has to be solved numerically. For example, you can use Newton's method $$ s_{\rm new} = s-\frac{f(s)}{f'(s)} $$ to solve $f(s)=0$ where $$ f(s):=\Phi\left(\frac3s\right)-\Phi\left(\frac{-9}s\right)-0.3 $$ with derivative $$ f'(s)=-\frac3{s^2}\phi\left(\frac3s\right)-\frac9{s^2}\phi\left(\frac{-9}s\right); $$ as usual $\phi$ denotes the standard normal density.
Here is an
Rscript to carry out the iteration. The solution is approximately $s=15$, as you've guessed.with output