Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

#include <iostream> using namespace std; int main() { double time, length, pi; p

ID: 3616331 • Letter: #

Question

#include <iostream> using namespace std; int main() { double time, length, pi; pi = 3.1316; g = 32.2 time = 1.0; length = 12.0 * g * time / (2.0*pi) * time / (2.0*pi); cout << "The length is " << length << "inches "; return 0; } * Modify the program to determaine the time it takes a 3-footpendulum to complete one swing. The program should produce thefollowing display: The time to complete one swing (in seconds) is : #include <iostream> using namespace std; int main() { double time, length, pi; pi = 3.1316; g = 32.2 time = 1.0; length = 12.0 * g * time / (2.0*pi) * time / (2.0*pi); cout << "The length is " << length << "inches "; return 0; } * Modify the program to determaine the time it takes a 3-footpendulum to complete one swing. The program should produce thefollowing display: The time to complete one swing (in seconds) is :

Explanation / Answer

please rate - thanks formula gotten from:http://www.tutor-homework.com/Homework_Questions/Physics_Questions_0012--Prelab_Only.pdf #include #include using namespace std; int main() { double time, length, pi,g; pi = 3.14159; g = 32.2; length=3; time=2*pi+sqrt(length/g); cout