display error #mathjax


djychen@...
 

Hello, 

I am having trouble getting an equation to display correctly, and I don't know whether it's a site error or my own mistake in the code. I have attached images of my code and the display below. Thank you!

my code: 
\[\text{Output Gap}(%) = \displaystyle\frac {Y - Y_P}{Y_P} \times \:100\]

view the image for the displayed code.


Respectfully,
Diana

Join main@Libretexts-ConstructionForum.groups.io to automatically receive all group messages.