Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
′′ ,0 (1)
where is the modulus of elasticity, is the moment of inertia and is the length of the beam.
i) Formulate the structure of the Shooting Method for this BVP using the Newton-Raphson approach to update
(present all the equations you will need to implement this method).
ii) Use the RK4 subroutine that you developed in previous homeworks and the Shooting Method structure in
question (i) to solve this BVP numerically for 7 ∗ 10 , 4, 50, 50 and 1. Plot and
compare it with the analytical solution:
(2)
where and / . Plot also the slope of the vertical displacement. Do both
displacement and its slope make sense?
(Hint: Use the demo code below)
function [x,y]=Shooting(dx);
%% Initial guess
% Shooting method
it=1;itmax=50;
crit1=inf;
crit2=inf;
tol=10e-12;
% Initial conditions