Carl Love

Carl Love

28025 Reputation

25 Badges

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

MaplePrimes Activity


These are replies submitted by Carl Love

@Markiyan Hirnyk Addressing a minor point from earlier in this thread: Function application does indeed distribute over the list-building operator [] and the set-building operator {}. So, in particular,

{seq}(expr, k= 1..n) = {seq(expr, k= 1..n)},

and there was no problem with Mehdi's syntax on this point.

The undistributed syntax is especially useful when there are multiple functions in the list or set:

[f,g](x,y) = [f(x,y), g(x,y)]

@spradlig asked: Can you please tell us more about who you are and why you are asking?

The Poster is an employee of Maplesoft, as is indicated by the blue background on the name and maple leaf icon in the lower right of the gravatar.

@Mathematix

Can you describe in words what you were intending by subs(exp= 3, Y)? That does not do anything mathematically valid; rather it changes the exponential function into a constant function, the constant being 3. This works:

plot(Y, x= -1..1);

@Mathematix

Can you describe in words what you were intending by subs(exp= 3, Y)? That does not do anything mathematically valid; rather it changes the exponential function into a constant function, the constant being 3. This works:

plot(Y, x= -1..1);

@Mathematix I don't know. Those don't look like difference equations or differential equations. There's no independent variable and no derivatives. Also, it is obvious that the system does not satisfy its own initial conditions.

@Mathematix I don't know. Those don't look like difference equations or differential equations. There's no independent variable and no derivatives. Also, it is obvious that the system does not satisfy its own initial conditions.

I haven't looked at your worksheet yet, but generally you want to raise epsilon and decrease the precision to get rid of holes in a plot. Four significant digits should be enough for any plot, smaller differences not being perceivable. The higher precision can lead to holes for complicated integrands because there may be some points for which the integral returns unevaluated because it cannot achieve the requested precision.

You would need to have an A and a B to use the procedure. What do A and B represent? Obviously, they are n x n matrices of nonnegative integers. Are they zero-one? Where did you find procedure rOrt?

By powers of Y_1*Y_2 do you mean (Y_1*Y_2)^2, (Y_1*Y_2)^3, etc., but not Y_1^3*Y_2^2? And should the latter be considered as Y_1*(Y_1*Y_2)^2, i.e., as a "power" of Y_1*Y_2 with a coefficient of Y_1?

The code that you gave above does not parse. The first statement in the first for loop has two := assignments, which Maple does not allow. Correct the syntax errors, and then I'll have a look at the optimize issue. It is not possible that the code that you have above gave the warning messages that you describe because that code never would've gotten past the parser.

@acer Do you have any idea what went wrong with the method (and the method) that I used?

@acer Do you have any idea what went wrong with the method (and the method) that I used?

When the technique is applied to a definite integral, a spurious imaginary part is introduced, although the real part is correct. I guess that it is jumping over branch cuts.

restart:
J:= Int(sin(x)/cos(x)/sqrt(1+sin(x)^3), x= 0..Pi/4):
FWIW, note that the integrand is analytic in an open disk centered at the origin and
containing both endpoints of integration.
IntegrationTools:-Change(J, t= sin(x));
              /0                                    
             |                       t              
             |            ----------------------- dt
             |                     (1/2)            
            /       (1/2) /  3    \      / 2    \   
             - 1/2 2      \-t  + 1/      \t  - 1/   
value(%):
evalf(%);
            0.322446488989322 + 0.555360367269405 I
evalf(J);
                       0.322446488991541

When the technique is applied to a definite integral, a spurious imaginary part is introduced, although the real part is correct. I guess that it is jumping over branch cuts.

restart:
J:= Int(sin(x)/cos(x)/sqrt(1+sin(x)^3), x= 0..Pi/4):
FWIW, note that the integrand is analytic in an open disk centered at the origin and
containing both endpoints of integration.
IntegrationTools:-Change(J, t= sin(x));
              /0                                    
             |                       t              
             |            ----------------------- dt
             |                     (1/2)            
            /       (1/2) /  3    \      / 2    \   
             - 1/2 2      \-t  + 1/      \t  - 1/   
value(%):
evalf(%);
            0.322446488989322 + 0.555360367269405 I
evalf(J);
                       0.322446488991541

Do all of yangtheary's problems come from a list of problems posed by Robert Israel? Is yangtheary Robert Israel in disguise?

First 622 623 624 625 626 627 628 Last Page 624 of 708