Carl Love

Carl Love

28115 Reputation

25 Badges

13 years, 156 days
Himself
Wayland, Massachusetts, United States
My name was formerly Carl Devore.

MaplePrimes Activity


These are replies submitted by Carl Love

@Carl Love Continuing from above, arbitrarily select omega = 12, so omega^(-1) = 17. Then the matrix DFT is

DFT:= Matrix(4,4, (i,j)-> 12^(i*j) mod 29);

and the inverse transform matrix is

IDFT:= Matrix(4,4, (i,j)-> 17^(i*j) mod 29);

You can verify that their product is 4I by

DFT.IDFT mod 29;

@abbeykabir Sorry, I can't think of any reasonable way to plot a parametric curve over the complex numbers. If it were possible to express it as y = f(x), then there are some possibilities. But that is not possible for this x and y.

@sunit Ah, I see. Was the restart in the .m files? Then that's the problem. The restart only works at the top level, not in a file, and it should be placed in its own execution group.

@sunit So, essentially, you were making the assumptions twice.

@Joe Riel Thanks, Joe. I corrected the Answer above.

@Preben Alsholm Preben, Your eval trick does not work for me. I still have kernel death. I also have kernel death if I replace add with seq or mul, or if I make the equivalent construction with $. Indeed, if I make the line the simple 

C[i]*d[i] + C[i];

then I still have kernel death.

@Preben Alsholm You asked:

By T(N^2(z)) do you mean T(N(z)^2) or do you mean T(N(z))^2?

Neither. By T(N^2(z)) the OP means T((N@@2)(z)), and by (T(z))^2 the OP means T(z)^2.

@Alejandro Jakubi He is saying that the procedure BlahMethod, the export of the module, is not (explicitly) executed. Nonetheless, that is the procedure that contains the statement that causes the crash.

@abbeykabir Yes, I got the same plot.

@Thomas Richard Thanks, I was aware of odetest. But there is a simplicity and obviousness to plugging a solution back into the original that appeals to me.

@Alejandro Jakubi No, I haven't seen any adequate documentation of the stop button. However, I've noticed three things that make it inadequate (I am nearly sure about these, but I haven't seen any documentation).

1. The button will only stop a process during a garbage collection. Ordinarily there is a garbage collection every second or two, so this isn't ordinarily a problem. But if code is very memory efficient, it can be several minutes before there is one.

2. The button will only stop the kernel, not the GUI. This is very frustrating when you've accidentally entered a quick command that produces thousands of lines of output.

3. The button's effect is unpredictable and usually undesirable when applied to multithreaded code.

@nm It is a problem. It is often complained about.

I indeed did retype the OP's expression, although I wish that I didn't need to.

Your question from yesterday specified that A and B were integer. The formula, with A=151 and B=47, is a famous formula for Pi that you can look up on Google. It's called the Bailey, Borwein, and Plouffe formula.

@Alejandro Jakubi But also note that `evalf/int` is largely not built-in. I think that anything that can be stopped with the stop button can be stopped with timelimit.

@xx50xx Kitonum is setting z=0 to produce the ellipse in the xy-plane which when rotated about the y-axis will generate the ellipsoid. That way he can use the formula for the area of a surface of revolution.

First 586 587 588 589 590 591 592 Last Page 588 of 710