photo

Melhem


Last seen: meer dan een jaar ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Question


Solving a differential equation using ode45
is it possible to solve this equation using ode45? θ'' - µ*θ'^2 + (g/r)*(µ*cos(θ) - sin(θ)) = 0 µ, g, and r are given

meer dan een jaar ago | 2 answers | 1

2

answers

Question


I defined a function that should give me an array with 3 elements, but when I use it it's giving me a lot more than 3.
function [t,x,N] = lab1(V0,mu,tf) %V0=10 mu=0.4 tf=1 W=1; g=32.2; r=5; tspan=linspace(0,tf,1000); x0=[0;V0/r]; param...

meer dan een jaar ago | 1 answer | 0

1

answer