Title
Supplemental Instruction
Iowa State University / Leader: / Shannon
Course: / ENGR 160
Instructor:
Date: / 11/6/17
  1. For the crane system shown in the figure below, neglect the weight of the crane and solve the problem by completing parts a, b, and c.

a. Draw a complete free-body diagram.

b. Write the equilibrium equations.

c. Solve for the reaction forces at point A and B (express forces as magnitude and direction).

2. A 15.0 m beam has a mass of 11.5 kg/m and is supported by a pi at point A. The beam has a cable that is connected to it at point B. The cable is perpendicular to the beam. Also, an object is hung from point C which has a mass of 210.0 kg. Gravitational acceleration is 9.807 m/s2.

  1. Draw a complete free-body diagram.

b. Write the three equilibrium equations.

c. Solve for the reaction force at point A, and find the tension in the cable at B (express forces as magnitude and direction)

3. Given the following data set of reported densities of water at 20℃ in kg/m3. You MUST SHOW YOUR WORK to receive credit for this problem.

Group A / Group B
1 / 1020 / 952
2 / 993 / 891
3 / 1061 / 1080
4 / 1028 / 1120
5 / 953 / 901
6 / 984 / 912
7 / 962
8 / 1019 / 943
  1. Find the mean density of Group A.
  1. The results from Group B yield a mean density of 978.5. Determine the missing data in Group B.
  1. Determine the standard deviation for Group A.

4. Write ONLY a Function subprogram that receives an integer value, n, and calculates and returns the summation shown in the equation below.

The Function will stop the summation before reaching n terms if an additional term changes the value of the summation by less than 0.001.

5. A main program exists which will send a real one-dimensional array (dimensioned to have up to 500 entries in the main program) to a subprogram. The array contains stress measurements for various materials. Since these values should be positive, a negative value in the array is used to indicate the end of the data.

Write a complete subprogram (ONLY) which can be used to calculate the mean of the positive data values and the number (an integer) of positive data values. The subprogram must pass back both the mean value and the count of positive data values to the main program (no Write statements in the subprogram are needed).

Write the one statement in the MAIN program that would access the Subroutine you wrote above. DO NOT write the whole Main program.

6. Write a program that will read an input file, WindIn.txt, containing information on storms in the U.S. On the first line of the file is an integer number which is a count of the number of storm values that are given in the file (it will never exceed 200). Starting on line two, the file consists of two numbers on each line: an identification number for each storm and the highest wind speed in mph.

Write a program that will read the first line in the file, n, and then read the remaining lines and store the numbers into two one-dimensional arrays named ID(an integer array) and Wind (a single array).

The program will classify the hurricanes into categories according to the scale given below.

The correct category for each storm will be stored in a one-dimensional array named Category(an integer array).

Output to a file a list of ONLY those storms that have wind speeds high enough to make them a hurricane. Include headings in the output file to label the numbers.

The Saffir-Simpson scale of hurricanes: (assign a Category of zero if it does not rise to level 1 and do not include it in the output) Category 1: Wind speeds of 74-95 mph, Category 2: Wind speeds of 96-110 mph, Category 3: Wind speeds of 111-129 mph, Category 4: Wind speeds of 130-156 mph, Category 5: Wind speeds over 157 mph