ncncnc23

10 Reputation

One Badge

10 years, 247 days

MaplePrimes Activity


These are replies submitted by ncncnc23

@Carl Love 

yeah I was mucking about with something else. I think I have it anyway.

Thanks for your help mate!

@Carl Love 

yeah it will be a crowded plot but all the values should behave similarly and then the behaviour should change at the point when the c hits 0.

hmmm still not playing so far I have

....etc....

plots:-display(A);
Error, (in plots:-display) expecting plot structures but received: [.2, -4.900000000, -2.245918367, -.677707025, 1.136710357, -.311376403, 3.055858949, 1.200689239, -.232510351, 4.184628615, 1.853344474]

hmmm

@Carl Love 

yeah I was wanting them all on the same plot if that is possible?

Thanks again

@Markiyan Hirnyk 

I think I see what your meaning - you put it within a sequence and then it loops through each value of c? I tried this

with(Student[NumericalAnalysis])

A:=seq([Newton(x^2 - c, x=0.2, output = plot, maxiterations = 10)], c=-2...2, 0.1)

but its not giving me a plot as the output its just giving me a sequence containing:

Thanks again.

@Markiyan Hirnyk

I'll explain it a bit better - I'm trying to use Newton's Method to show bifurcation.Ill use the case when

f(x)=x^2 + c. What I was trying to do was:

with(Student[Calculus1])

NewtonsMethod(x^2 - c, x=0.1, output = plot, iterations = 20)

I am wanting a plot with say 20 iterations of each case when c ranges between values of say -2 and 2 with a gap of 0.05 between my c values. The c is the problem here because Maple doesnt know what it is. How would I sort that?

Any ideas?

Cheers

 

Page 1 of 1