Question: I need python code to evaluate problem #3 and problem #5 . Thanks 3. Store the mechanical properties of A-36 steel in Table 1 in
3. Store the mechanical properties of A-36 steel in Table 1 in a dictionary d. Suggested dictionary key names are also included in Table 1. Table 1. Selected mechanical properties of A-36 steel. Also include in d, calculated values of shear modulus (G), bulk modulus (K), and shear wave velocity (Vs) associated with key name G,K,Vs. The equations to calculate G,K, and Vs are: G=2E(1+v),K=3(1v)E,Vs=G/ Note that the values of G,K, and Vs should not be explicitly input (i.e., do not include 528e9 in d for G ) but stored in terms of other values in the dictionary d. 4. Evaluate the function f(x)=x2e21xsin(x31) using numpy. Create a one-dimensional array x using either the 1 inspace or arange function that starts with x=0 and ends at x= 4. The increment size is x=/800. Store the calculations of f(x) at each value of x in the variable f. Do not use a for or while statement in computing f(x). 5. Develop a series of statements to produce the following two-dimensional arrays in numpy. In solving this problem, do not use the np. array () function but instead consider the use of zeros, ones, arange, 1 inspace functions as well as the reshape method and slicing operator. (a) (b) (c) (d)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
