1

I can solve an equation using Maxima by using the commands below.

kill(all);
A:A; phase:phase; solve(A*cos(2*pi*f*t+phase)=y,phase);

And it gives me the correct answer.

phase=acos(y/A)-2*f*pi*t

enter image description here

But when I try and solve for just the top portion of an equation the x(n+1) portion. Here's the equation.

enter image description here

See website Clifford Attractor.

It's not what I expected. The equation I use is below:

kill(all);
x:x; a:a; c:c; n:n; solve(sin(a*y(n))+c*cos(a*x(n))=x*(n+1),x);

What I get is :

x=(sin(a*y(n))+c*cos(a*x(n)))/(n+1)

enter image description here

I expected it to be something like:

x[n] = sin(a*y[n-1])+c*cos(a*x[n-1]);

Any idea what I'm doing wrong?

I'm using wxMaxima 18.02.0 in ubuntu 18.04 64bit

miracle173
  • 1,852
  • 16
  • 33
Rick T
  • 3,349
  • 10
  • 54
  • 119

0 Answers0