POV-Ray : Newsgroups : povray.advanced-users : looking for symbolic solution Server Time
30 Jul 2024 00:27:10 EDT (-0400)
  looking for symbolic solution (Message 1 to 10 of 10)  
From: Wlodzimierz ABX Skiba
Subject: looking for symbolic solution
Date: 21 Nov 2000 12:16:19
Message: <3a1aade3$1@news.povray.org>
Is there any person who can solve this for x ?

(A*x-B)(cosx-sinx)=C

This is simplest form of my equation
resolved by hand. MathCAD can't help me.

ABX


Post a reply to this message

From: David Fontaine
Subject: Re: looking for symbolic solution
Date: 21 Nov 2000 16:10:10
Message: <3A1AE43B.8767F6EC@faricy.net>
Wlodzimierz ABX Skiba wrote:

> Is there any person who can solve this for x ?
>
> (A*x-B)(cosx-sinx)=C
>
> This is simplest form of my equation
> resolved by hand. MathCAD can't help me.

My TI-89 returned the same thing, so I'm assuming it can't be done.

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: Pabs
Subject: Re: looking for symbolic solution
Date: 22 Nov 2000 00:48:11
Message: <3A1B5E6B.B92BDCE5@hotmail.com>
Wlodzimierz ABX Skiba wrote:

> Is there any person who can solve this for x ?

Sorry I can't do it algebraically

> (A*x-B)(cosx-sinx)=C
> This is simplest form of my equation resolved by hand. MathCAD can't
> help me.

When algebra doesn't work try a numerical method - the philosophy behind
the isosurface object.
What is MathCAD?
--
Bye
Pabs


Post a reply to this message

From: David Fontaine
Subject: Re: looking for symbolic solution
Date: 22 Nov 2000 00:58:16
Message: <3A1B5FFE.BB3CED8E@faricy.net>
Pabs wrote:

> Wlodzimierz ABX Skiba wrote:
>
> > Is there any person who can solve this for x ?
>
> Sorry I can't do it algebraically
>
> > (A*x-B)(cosx-sinx)=C
> > This is simplest form of my equation resolved by hand. MathCAD can't
> > help me.
>
> When algebra doesn't work try a numerical method - the philosophy behind
> the isosurface object.
> What is MathCAD?

A nice program like Mathematica that WON'T PRINT ON MY COMPUTER!!! Aargh.
:)

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: Wlodzimierz ABX Skiba
Subject: Re: looking for symbolic solution
Date: 22 Nov 2000 03:02:38
Message: <3a1b7d9e@news.povray.org>
> > Is there any person who can solve this for x ?
>
> Sorry I can't do it algebraically
>
> > (A*x-B)(cosx-sinx)=C
> > This is simplest form of my equation resolved by hand. MathCAD can't
> > help me.
>
> When algebra doesn't work try a numerical method - the philosophy
behind
> the isosurface object.

but this solution is needed to achive isosurface equation :-(

> What is MathCAD?


very pretty program
http://www.adeptscience.com/products/mathsim/mathcad2000/

ABX


Post a reply to this message

From: Wlodzimierz ABX Skiba
Subject: Re: looking for symbolic solution
Date: 22 Nov 2000 03:07:27
Message: <3a1b7ebf@news.povray.org>
David Fontaine wrote in message <3A1AE43B.8767F6EC@faricy.net>...
> > (A*x-B)(cosx-sinx)=C
> My TI-89 returned the same thing, so I'm assuming it can't be done.


but there must be one solution
or mistake in my transformations of equations :-(

ABX


Post a reply to this message

From: Michael Andrews
Subject: Re: looking for symbolic solution
Date: 22 Nov 2000 09:04:39
Message: <3A1BD2A1.6AC1FA0@reading.ac.uk>
A little simpler is to note the identity

cos(x)-sin(x) == sqrt(2) * cos(x + pi/4)

I don't know if this helps ...

Wlodzimierz ABX Skiba wrote:
> 
> > > (A*x-B)(cosx-sinx)=C
> > > This is simplest form of my equation resolved by hand. MathCAD can't
> > > help me.

Bye for now,
	Mike Andrews.


Post a reply to this message

From: G3DM
Subject: Re: looking for symbolic solution
Date: 22 Nov 2000 11:18:06
Message: <3A1BE1AB.D0EE5B30@planete.net>
As this equation involves transcendantal functions, I'm afraid there's
no symbolic solution for it.



Wlodzimierz ABX Skiba wrote:

> Is there any person who can solve this for x ?
>
> (A*x-B)(cosx-sinx)=C
>
> This is simplest form of my equation
> resolved by hand. MathCAD can't help me.
>
> ABX


Post a reply to this message

From: Mark Wagner
Subject: Re: looking for symbolic solution
Date: 23 Nov 2000 02:56:02
Message: <3a1ccd92@news.povray.org>
Wlodzimierz ABX Skiba wrote in message <3a1aade3$1@news.povray.org>...
>Is there any person who can solve this for x ?
>
>(A*x-B)(cosx-sinx)=C
>
>This is simplest form of my equation
>resolved by hand. MathCAD can't help me.


Try graphing it and looking at the graph of the equation to find the zeros.
I'm fairly sure that the function cannot be solved for x, so if you need the
solution for x rather than the zeros, you're out of luck.

--

Mark
"The derivative of sin(2x) is cos(2x)"  - Matt Giwer


Post a reply to this message

From: Wlodzimierz ABX Skiba
Subject: Re: looking for symbolic solution
Date: 23 Nov 2000 06:02:49
Message: <3a1cf959@news.povray.org>
Mark Wagner wrote in message <3a1ccd92@news.povray.org>...
> Wlodzimierz ABX Skiba wrote in message <3a1aade3$1@news.povray.org>...
> >Is there any person who can solve this for x ?
> >
> > (A*x-B)(cosx-sinx)=C
>
> Try graphing it and looking at the graph of the equation to find the
zeros.
> I'm fairly sure that the function cannot be solved for x, so if you
need the
> solution for x rather than the zeros, you're out of luck.

My equation could be transformated to:

(Ay+B)^2 * (1+sin(2*y)) = D^2

where A,B,D are not the same like at first and y=-x

there is simple but useless symbolic solution for this
using Taylor's formula we can describe sin as

sin(x)=sum(n:=0;n->infinity; (-1)^n * x^(2*n+1) / (2*n+1)!

this provide me to infinite exponent in equation
but this could be aproximated with finite n
for example Maple resolved it
(http://www.maplesoft.com/products/Maple6/maple6info.html):

x=(-1/(D+A))*(B-D)+(3/2*D/((D+A)^3))*(B-D)^2+(-1/6*D*(-11*A+16*D)/((D+A)
^5))*(B-D)^3+(1/8*D*(19*A^2+44*D^2-72*D*A)/((D+A)^7))*(B-D)^4+(-1/120*D*
(1524*D^3-3928*D^2*A+2692*D*A^2-361*A^3)/((D+A)^9))*(B-D)^5+O((B-D)^6)

where the last part O((B-D)^6) is the rest
with small B-D error will be small

I'm sure that there is one exact result in special range of A,B,D but
currently I work with completly different method of resolve my problem
therefore probably I will not profit from calculated result. Thanks to
all for effort.

ABX at babilon org


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.