A nice overview containing manual and symbolic integration and plotting the results. The shown commands provide nice plots with minimal effort. Especially I like how MATLAB uses common default values. For example, the additive constant C from the integration process is set in a way that the initial condition (t=0) for v and x is 0. It was a surprise to me that the integral boundary can be called t when the independent variable is t, too. It was explicitly mentioned that this violates no rules - and MATLAB accepts it - but in my understanding these are two separate things. The integral boundary is a static specific point in time at which the integration ceases. While the t in the formula is floating and takes all values within the integration boundaries. Anyway, it is simple and it works. A numerical integration is not shown, though. Instead the formulas obtained in the previous symbolic step were re-used. Tiny correction: The expression for x in 18:14 contains '..+3*t...' which is wrong. It should be 2*t since the expression for v contains a 2, not a 3.
A nice overview containing manual and symbolic integration and plotting the results. The shown commands provide nice plots with minimal effort. Especially I like how MATLAB uses common default values. For example, the additive constant C from the integration process is set in a way that the initial condition (t=0) for v and x is 0.
It was a surprise to me that the integral boundary can be called t when the independent variable is t, too. It was explicitly mentioned that this violates no rules - and MATLAB accepts it - but in my understanding these are two separate things. The integral boundary is a static specific point in time at which the integration ceases. While the t in the formula is floating and takes all values within the integration boundaries. Anyway, it is simple and it works.
A numerical integration is not shown, though. Instead the formulas obtained in the previous symbolic step were re-used. Tiny correction: The expression for x in 18:14 contains '..+3*t...' which is wrong. It should be 2*t since the expression for v contains a 2, not a 3.
thanjk you!
:)