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

The material chosen for the body panels of an automobile will be subjected to cy

ID: 3841106 • Letter: T

Question

The material chosen for the body panels of an automobile will be subjected to cyclic loading (alternating positive and negative forces or stresses) during use. To test the material’s behaviour in the laboratory under such cyclic loading, the force acting on the material is measured over time. A computer precisely determines when the material sample fractures.

where F1 = 34 kN, F2 = -18 kN and = 33 rad/s. The material was observed to fracture after 3 hours, 15 minutes and 5 seconds.

1). Write an m-file that uses ode45 and a step size of 0.01 seconds to determine what the force acting on the material was at the instant it fractures. Use fprintf to print your answer

Fi sin(at)+ F, cos(2at)

Explanation / Answer

The force acting on the material when it fractured after 3 hrs, 15 mins and 5 secs is 2.0866 kN.

The MATLAB code for this given below:

tspan=(0:0.01:3*360+15*60+5);
F1=34;
F2=-18;
o=33;
[t,y]=ode45(@(t,y)F1*sin(o*t)+F2*cos(2*o*t),tspan,0);
disp(y(length(y)))