Need MATLAB command for the given expression

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..:)

回答(1 个)

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.

类别

在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息

产品

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by