Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
[color=Blue]Hi everyone! This is my first time I approach to thi solver and a function. Infact I tried to solve my ODE, but it doesn't work.
Please, would you like to help me?
This is my functin:
N.B. i put the data in "datinuscita" file[/color]
%scrivi la funzione con il tempo e lo spostamento iniziale
[color=Blue]and the solver is:
tspan = linspace(0,20,101);
[t,S] = ode45(sloshing, tspan, y0);
% Plot of the solution
[color=Blue]Please, help me asap.
Thank you in advance