Can you solve it with matlab and derive u^h(x) that is
approximate solution ?
PART B:...
PART B: (70 PTS to the loading caused by gravity, a linearly value at the free end and fmaz at the top, where the dimensions length. and mass density, ? nsider a rod suspended from one end with gravity directed downwards. In addition ing load is applied as shown, with zero of fmar are force per unit The rod has constant cross-sectional area A, modulus of elasticity E, length L 1. First determine the eract displacement solution to the model problem, in general form by superposition of the two independent loads (deadweight of the rod and linear force) 2. Let A-? cm2, L = 1 m, E = 120 GPa, ? = 2700 kg/m2, f,naz-50 N/m » Jmar With e1x 10-3, determine the minimum number of degrees-of-frecdom requir satisfy the L2 error c these shape functions, z is measur ondition using each of the following sets of shape functions (for ed from a origin located at the fixed end of the rod): a. Nr(x)- b. Trigonometric functions N1(x)= sin(?) Ni (x) = 1-cos( odd 1 I even for AL wliere the origin of the coordinate system is located at the fixed end of the rod The L2 error condition is defined as (u)2 dx where u and uh are the exact and approximate solutions, respectively.