Need MATLAB command for the given expression
Show older comments

My try:
energy(i) = (1/2)*(A_I)^2)*(((w*66.7*10^-6)+(cos(w*66.7*10^-6)*sin(w*66.7*10^-6)))-((w*0*10^-6)+(cos(w*0*10^-6)*sin(w*0*10^-6))));
here A_I is a matrix input.
so,Is it possible to integrate the matrix value?
Can anyone help me out ...Thanks in advance..:)
Answers (1)
Torsten
on 24 Mar 2015
0 votes
What exactly do you need ?
An antiderivative of f(t) = cos^2(w*t) is given by F(t)=0.5*t+0.25/w*sin(2*w*t).
So evaluate F in the limits t_low = 0 and t_high = 66.7e-6 to get the value of the integral.
Best wishes
Torsten.
Categories
Find more on MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!