The document describes calculating the viscosity of a hydrous, leucogranitic melt using a regression model. It provides background on estimating magma viscosity and factors that influence it like temperature, water content, and crystal content. It then presents the problem of calculating the viscosity of a rhyolite magma at 900°C with 2% water and 0.03% crystal content. A plan is outlined to implement a VFT model to calculate melt viscosity and incorporate crystal content using an equation to find the final magma viscosity. A spreadsheet is presented carrying out these calculations.