C Program ENGR 200 SPRING, 2015 TEST 1: CANTILEVER SPAR DEFLECTION

Feb 3rd, 2012
Studypool Tutor
University of Nebraska - Lincoln
Price: $10 USD

Tutor description

C Program ENGR 200 SPRING, 2015 TEST 1: CANTILEVER SPAR DEFLECTION Write a C program that will allow the user to enter the wing spar dimensions, the applied load in pounds, and the position along the spar of the applied load in feet. After entering the required values the program will compute the deflection of the spar and the results will be printed to the computer screen. Use the power function to compute all values that need to be raised to a power, such as a2 in the deflection equation. Use proper and meaningful variable names but keep them short. As an example, for modulus of elasticity you could use elast. Your program must have a title block, program description, list of variables and their descriptions, and comments within the program. You will be graded on correct computed output, output format as shown below and programming form.

Word Count: 126
Showing Page: 1/1
#include #include #include #define elast (1.46 * pow(10, 6))int main(){ float base, height, W, a, I, L, deflection; printf("=====================================================\n"); printf("\tWING SPAR DEFLECTION PROGRAM\n"); printf("\n

Review from student

Studypool Student
" Outstanding Job!!!! "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1828 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors