From: Walter Roberson on
theasus wrote:
> I couldn't get an answer or an idea for my question.

Some of us have to sleep sometime.

> Could you propose
> any idea for this operation ? where is my mistake????

Your explot call is missing a ")".
From: us on
"theasus "
> >>ezplot(Q,[t(1) t(end)];
> When I wrote these codes my computer is locked.And I have tried many times but didn't get result.How can I get over from this problem?

well... because you're command is NOT complete...
ezplot((...];
THINK - THINK, again - then POST...

us
From: theasus on
Thanks for your considering but I have used these codes as you said; >>t=0:0.01/50:10/50;
>>Q=dsolve('Dy+299*y+100171*y^2=21*sin(2*pi*50*t)*sin(2*pi*50*t)','y(0)=0','Dy(0)=0','t')
>>ezplot(Q,[t(1) t(end)]);
It doesn't work.The program has been locked.I couldn't get any result.
Thanks...
From: us on
"theasus " <theasus87(a)hotmail.com> wrote in message <i38b9a$bca$1(a)fred.mathworks.com>...
> Thanks for your considering but I have used these codes as you said; >>t=0:0.01/50:10/50;
> >>Q=dsolve('Dy+299*y+100171*y^2=21*sin(2*pi*50*t)*sin(2*pi*50*t)','y(0)=0','Dy(0)=0','t')
> >>ezplot(Q,[t(1) t(end)]);
> It doesn't work.The program has been locked.I couldn't get any result.
> Thanks...

DSOLVE just takes some time...

us
From: Greg Heath on
On Aug 3, 2:00 am, "theasus " <theasu...(a)hotmail.com> wrote:
> Thanks for your considering but I have used these codes as you said; >>t=0:0.01/50:10/50;>>Q=dsolve('Dy+299*y+100171*y^2=21*sin(2*pi*50*t)*sin(2*pi*50*t)','y(0)=0',­'Dy(0)=0','t')
> >>ezplot(Q,[t(1) t(end)]);
>
> It doesn't work.The program has been locked.I couldn't get any result.
> Thanks...

wHY DO YOU HAVE 2 INITIAL CONDITIONS FOR A 1ST ORDER ode?

hOPE THIS HELPS.

gREG.