Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

using trapz to solve integral M=Q(t)*C(t) @ t1=2 & t2=8 ,where Q(t)= (9+5*(cos(.4*t)).^2) and C(t)= 5*exp(-.5*t) + 2*exp(.15*t), why is the following entry not accepted? M =(9+5*(cos​(.4*t)).^2​).*(5*exp(​-.5*t) + 2*exp(.15*t))

1 vue (au cours des 30 derniers jours)
Randy
Randy le 24 Avr 2013
Clôturé : MATLAB Answer Bot le 20 Août 2021
Error in FINALP4_matlab (line 8) M =(9+5*(cos(.4*t)).^2).*(5*exp(-.5*t) + 2*exp(.15*t))
  1 commentaire
bym
bym le 24 Avr 2013
do you mean between t = 2 and t = 8? have you defined t?

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by