Let x be the number of quarters and y be the number of nickels in the piggy bank;
Since there are 63 coins in the piggy bank, then we have;
![x+y=63\ldots\ldots\ldots\text{.. equation 1}](https://img.qammunity.org/2023/formulas/mathematics/high-school/lsjvv8sy22vaw8hy1wqudtow9je2v2kqzh.png)
Also, 20nickels is 1 dollar and also 4 quarters is 1 dollar.
Since there is $12.55 in the piggy bank, we have;
![(1)/(4)x+(1)/(20)y=12.55\ldots\ldots\ldots\ldots\text{.equation 2}](https://img.qammunity.org/2023/formulas/mathematics/high-school/x6f61zg1tds5gpc3lzs8hag8x9p5yue9aw.png)
![\begin{gathered} \text{From equation 1;} \\ y=63-x\ldots\ldots\ldots\ldots\text{equation 3} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/q0kogq2ykeae5actynww0scgaqk7v29efh.png)
Then, we substitute equation 3 in equation 2, we have;
![\begin{gathered} (1)/(4)x+(1)/(20)(63-x)=12.55 \\ \text{Multiply through by 20} \\ 5x+63-x=251 \\ 4x=251-63 \\ 4x=188 \\ x=(188)/(4) \\ x=47 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/ot6vffhvblicz6i70iqfngkgqz8vlmncfl.png)
Hence, the number of quarters in the piggy bank is 47