Carl Love

Carl Love

27666 Reputation

25 Badges

12 years, 130 days
Himself
Wayland, Massachusetts, United States
My name was formerly Carl Devore.

MaplePrimes Activity


These are replies submitted by Carl Love

@digerdiga 

Any plots can be merged with plots:-display as long as they have the same dimensionality, i.e., all 2D or all 3D.

@pawarabhijit7 You wrote:

My all values must be less than one because i have normalised all the terms

Does that mean that they are all less than one in absolute value? That's a stricter requirement than just being less than one.

And when you say that they are normalised, do you mean that the sum of the squares is one? If so, then that's an additional equation. Or do you mean the weaker condition that each has been divided by its own absolute value?

I didn't say that we needed three more equations; I said that we would need three more equations if we wanted to get a unique solution (or, indeed, any finite number of solutions). Do you have reason to suspect a finite number of solutions?

@pawarabhijit7 You wrote:

My all values must be less than one because i have normalised all the terms

Does that mean that they are all less than one in absolute value? That's a stricter requirement than just being less than one.

And when you say that they are normalised, do you mean that the sum of the squares is one? If so, then that's an additional equation. Or do you mean the weaker condition that each has been divided by its own absolute value?

I didn't say that we needed three more equations; I said that we would need three more equations if we wanted to get a unique solution (or, indeed, any finite number of solutions). Do you have reason to suspect a finite number of solutions?

Adri, The theorem that you cite is about systems of ODEs. The Asker is asking about systems of algebraic equations.

Adri, The theorem that you cite is about systems of ODEs. The Asker is asking about systems of algebraic equations.

@LEETZ That's the solution to the ODE. Note that it contains two arbitrary functions that are constant wrt x; thus it takes two (and only two) boundary conditions on x to solve for those functions.

@LEETZ That's the solution to the ODE. Note that it contains two arbitrary functions that are constant wrt x; thus it takes two (and only two) boundary conditions on x to solve for those functions.

@mehdi_mech I think that you are saying that you want to put in another variable, time, for which you had numeric values above. Is that right? Yes, that can be done, and we'd have to use solve (or one of it's equivalents) instead of fsolve. Yes, it will take substantially more time and memory. How much more? I don't know until we try it. It's possible that it would take so long that you will give up, or you may run out of memory. I just scanned the equations briefly. Are they all degree 3?

A good place to start is ?SolveTools,PolynomialSystem.

@mehdi_mech I think that you are saying that you want to put in another variable, time, for which you had numeric values above. Is that right? Yes, that can be done, and we'd have to use solve (or one of it's equivalents) instead of fsolve. Yes, it will take substantially more time and memory. How much more? I don't know until we try it. It's possible that it would take so long that you will give up, or you may run out of memory. I just scanned the equations briefly. Are they all degree 3?

A good place to start is ?SolveTools,PolynomialSystem.

The solution returned by solve for your set of 12 equations has 3 free variables; so, to get a unique solution you need 3 more equations.

You said that the solution returned by fsolve was not feasible, even though the solution is all real. So, obviously you have some additional constraints to feasibility in mind. Maybe these are inequalities. If you include these constraints in the set that you pass to solve, you might get better results. Or you can post your additional constraints here.

The solution returned by solve for your set of 12 equations has 3 free variables; so, to get a unique solution you need 3 more equations.

You said that the solution returned by fsolve was not feasible, even though the solution is all real. So, obviously you have some additional constraints to feasibility in mind. Maybe these are inequalities. If you include these constraints in the set that you pass to solve, you might get better results. Or you can post your additional constraints here.

@OffshoreEngineer

Here's an explanation of why my fix works: Your original sigvm had its parameters reversed compared to your other procedures xcart, ycart, zcart: The first parameter of sigvm was theta, and its second parameter was x. The code

unapply(sigvm(theta, x), [x, theta])

converts sigvm into a new procedure with the parameters in the other order.

Example:

F:= (x,y)-> exp(y)*sin(x);
(x, y) -> exp(y) sin(x)
F(ln(2), Pi/6);
                         /1   \           
                      exp|- Pi| sin(ln(2))
                         \6   /           
G:= unapply(F(x,y), [y,x]);
(y, x) -> exp(y) sin(x)
G(ln(2), Pi/6);
                               1

@OffshoreEngineer

Here's an explanation of why my fix works: Your original sigvm had its parameters reversed compared to your other procedures xcart, ycart, zcart: The first parameter of sigvm was theta, and its second parameter was x. The code

unapply(sigvm(theta, x), [x, theta])

converts sigvm into a new procedure with the parameters in the other order.

Example:

F:= (x,y)-> exp(y)*sin(x);
(x, y) -> exp(y) sin(x)
F(ln(2), Pi/6);
                         /1   \           
                      exp|- Pi| sin(ln(2))
                         \6   /           
G:= unapply(F(x,y), [y,x]);
(y, x) -> exp(y) sin(x)
G(ln(2), Pi/6);
                               1

@OffshoreEngineer Before you upload it, please test the Answer that I gave below.

@OffshoreEngineer 

What is the format of sigvm? My first guess is that it is a procedure that takes two arguments, x and theta, and returns a single value (on the HUE color scale). But it could return a list of three values (for the RGB or HSV color scales).

First 647 648 649 650 651 652 653 Last Page 649 of 704