Question: Data = DataRead [ ' Data ' ] In the 2 D array 'Data', rows correspond to data points, 1 s t to 5 t

Data=DataRead['Data']
In the 2D array 'Data', rows correspond to data points, 1st to 5th columns correspond to time, strain E11, strain L22, stress S1, and stress S22, respectively. 11 and 22 stand for two directions in the biaxial test. For the following questions, use built-in functions whenever possible.
(1) Using linear spline interpolation, find strain values E11 when stress S11 is at 100 kPa and 2000 kPa . Repeat the same process and find strain values E22 when stress S22 is at 100 kPa and 2000 kPa . Print the results with an informative statement. (10 pts)
(2) Find the slope of the strain-stress curve (E11-S11) when stress S11 is at 100 kPa and 2000 kPa . Repeat the same process and find the slope of the strain-stress curve (E22-S22) when stress S 22 is at 100 kPa and 2000 kPa .(Hint: We may not have stress data at exactly 100 kPa and 2000 kPa . But we can find the closest point by calculating the distance between the array containing stress data and 100 kPa or 2000 kPa . Consider finding the index of the minimum distance using 'np.argmin'. 'np.argmin' returns the index of the minimum value in an array).
Print the calculated slopes (4 slopes in total) with an informative statement. (20 pts )
(3) Plot the data points, linear spline interpolation curves, and the slope lines at 100 kPa and 2000 kPa . Plot E11-S11 and E22-S22 in the same graph. Adjust the range of the slope line so the shape of the original stress-strain curves looks like the letter " J ". The result should look like the granh helow (von may use different colors).(10 pts )
(4) Strain energy density can be obtained by integrating stress w.r.t. strain. i.e.,W(T)=0E11(T)S11dE11+0E22(T)S22dE22, where E11(T), E22(T) are strains at time T. Using a for loop, compute the strain energy density at each time point t with trapezoidal and Simpson's 13 rule, then plot the strain energy density versus E11. Calculate the relative percentage error between trapezoidal and Simpson's 13 rule using the last data point and print the error on the graph. The result should look like the graph below (you may use different colors).(30 pts )
Data = DataRead [ ' Data ' ] In the 2 D array

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!