This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: cout << endl << "Please enter x:\t" cin >> variable_x_1 Quadratic_function = (coefficient_A)* pow(variable_x_1,2) + (coefficient_B)*variable_x_1 + coefficient_C cout << endl << "f(" << variable_x_1 << ") =" << fixed << setprecision(4)<< Quadratic_function << endl cout << endl << "Please enter x:\t" cin >> variable_x_2 Quadratic_function = (coefficient_A)* pow(variable_x_2,2) + (coefficient_B)*variable_x_2 + coefficient_C cout << endl << "f(" << variable_x_2 << ") =" << fixed << setprecision(4)<< Quadratic_function << endl cout << endl << "Please enter x:\t" cin >> variable_x_3 Quadratic_function = (coefficient_A)* pow(variable_x_3,2) + (coefficient_B)*variable_x_3 + coefficient_C cout << endl << "f(" << variable_x_3 << ") =" << fixed << setprecision(4)<< Quadratic_function << endl } Sheet1 Page 2...
View
Full Document
 Summer '07
 Ghyam
 Computer Programming

Click to edit the document details