Coefficient of Determination from Linear Regression

Hi, Is there a way to pull the r^2 coefficient of determination from a linear regression to display it to the user?

I’m having students input points and then graphing the result and want to share the r^2 value on the screen for them. Do I have to calculate this in the graph screen or is there a way to extract this from the regression equations?

Here is what I have so far: Are We Compatible • Activity Builder by Desmos
It is a Desmos version of Bob Lochel/Cathy Yenca’s Are We Compatible scatter plot activity.

I think this may be what you are looking for. Desmos | Graphing Calculator
https://support.desmos.com/hc/en-us/articles/204311369-Statistics

53%20PM

Thanks Jay! That is exactly what I was looking for.