10 views (last 30 days)

Show older comments

For example, I have this equation

A*cos( w0*t+phi) * B*sin(n*w0*t+phi+psi)

where A,B,w0,psi are all constants, and n is a positive non zero integer.

I want to integrate with repsect to psi, from 0 to 2*pi, and I already know the answer is zero.

How do I make the symbolic toolbox understand the problem in a way it can come to that result?

John D'Errico
on 9 Nov 2020

Why not try it?

syms A B w0 t phi psi

syms n positive integer

V = A*cos(w0*t + phi)*B*sin(n*w0*t + phi + psi);

int(V,psi,[0,2*pi])

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

Start Hunting!