Tag Archives: Math.Pow

Calculate Nth roots in C#

To calculate Nth roots, you can simply use the formula: root = K1/N The example program uses the following code to calculate roots. // Calculate the root. private void btnCalculate_Click(object sender, EventArgs e) { double number = double.Parse(txtNumber.Text); double root … Continue reading

Posted in mathematics | Tagged , , , , , , , , , , , | 2 Comments