MaplePrimes Commons General Technical Discussions

The primary forum for technical discussions.
I'm working with inverse of a complicated matrix, which is 12*12, and all the elements are symbols. The program is running forever, no results, no error message? Anybody has such kind of experience, any suggestion that what I can do? Thanks a lot, I appreciate your help!
Suppose we have two sets A={a,b,c} and B={a,c}. And we write > A union B; we get {a,b,c}. But I want this to be replied as A only. How this can be done? Thanks.
Hi, all. I want to write viewer/converter for mw/mws, so mw/mws format description needed. Google say nothing about mw/mws format. search.maplesoft.com likewise. Can somebody help me with mw/mws format description? Is it possible to obtain such info from Maple developers? Is reverse engineering of mw/mws prohibited?
I just moved all my MAPLE files to my new laptop. Icons from Maple9.5 files made on a windows machine are missing and files do not open at all--error message -10814. Files from an imac running 9.5 also do not open when double clicked but can be opened after selecting the "Open With Maple 9.5". This has to be done one file at a time. The system has Java 1.4.2 and 1.3.1. Any help appreciated. Thanks, Roger
Playing with the integral int(cosh(v)/sqrt(sech(v)-sech(vm)),v=0..vm); I have tried numerical integration with different methods and got errors for small vm. Eg. with plain N2:=vm->evalf(Int(cosh(v)/sqrt(sech(v)-sech(vm)),v=0..vm)); N2(.01); returns unevaluated, and with the NAG method N3:=vm->evalf(Int(cosh(v)/sqrt(sech(v)-sech(vm)),v=0..vm,method = _d01ajc)); I get these error messages: N3(.01); Error, (in evalf/int) unable to obtain a real result N3(.001); Error, (in evalf/int) NE_QUAD_ROUNDOFF_TOL: Round-off error prevents the requested tolerance from being achieved: epsabs = 5.0e-013, epsrel = 5.0e-010.
Currently (in maple 10.04 and presumably earlier), Maple refuses to expand the natural log of an abstract product, so: v1 := ln( product(x[i], i=1..n) ): expand(v1) assuming positive; yields: ln( product(x[i], i=1..n) ) (Note the use of "assuming positive" so this makes sense mathematically.) The funny thing is that, if you print(`expand/ln`), it looks like they're trying to handle this situation: ... elif type(x, 'product'(anything, anything)) then s := signum(op(1, x)); if s = 1 then sum(ln(op(1, x)), op(2, x))
> (MathML[Import])("<math>
<mrow>
<munder>
<mrow>
<mi>lim</mi>
</mrow>
<mrow>
<mi>x</mi>
<mo>→</mo>
<mi>a</mi>
</mrow>
</munder>
<mi>x</mi>
</mrow>
</math>");

lim x
Hi all, Using maple 10 classic version, I am working with the below function of f(x): restart;fx:=cos(x)+2*sin(x);plot(fx,x=0..2*Pi,y=-3..3); I would like maple to show the x-axis values as radian instead of 0 to 6. How do I do this? If I now differenciate fx and find the value of zero I get the answer of arctan(2) fmx:=diff(fx,x);solve(fmx=0,x); Now I would like to visualise this by plotting a line from x=arctan(2) vertically to function f(x). How do I do this?? The maths is in place, its just getting maple to do what I want it to that creates problems ;-) Thanks in advance for any help.
Maple 9.52 outputs 0 to the expression, specified in the title:

> int(Dirac(x)*Heaviside(x+c), x=a..b);
0

while the answer I expect should be: Heaviside(c) if 0 belongs to [a..b], and 0 if [a..b] does not contain 0. In other words, it should be Heaviside(c)*(Heaviside(b)-Heaviside(a)).

Is my expectation correct? If it is, how to force Maple to provide the correct output?

Thanks in advance,
Anton Travleev.
One of my students was surprised at what happened after this command: > plot([sign(x), 'sign(x)' ],x=-1..1,color=[green,red]); I was too. One would expect to see an overlay of the green and red graphs. You don't. Curious. Jim Herod
suppose you have the following equation a+bx=3+4x is there a way to have Maple compare the coefficients and come up with the a=3 and b=4 solutions? thanks
Hello everyone, I have written a procedure that makes some calculations for me, which I am calling repeatedly using a simple for loop. Basically what I am doing is using the for loop to change one of the several input parameters to the procedure and then use the result. Here is a quick example: > transmission0:=Matrix(1200,2): reflection0:=Matrix(1200,2): > for m from 1 to 1200 do > freq:=0.0416666666*m: > rcwa(31,0.0,0.2998/freq,6.0e-3,1.0,2234.950223+2237.186291*I,2.042123126+0.1633593958e-1*I,2234.950223+2237.186291*I,1.0,0.8333,18.0e-6,356.0e-6,18.0e-6): > transmission0[m,1]:=freq: >transmission0[m,2]:=te[M+1]:
I tried to solve this eigen value problem. I have a complex trigonometric function, whose graph looks similar to a tan function curve. I cannot use fsolve to solve for all the solutions at once, since the function has jump discontinuities. I am able to plot the function for small ranges and then from the plot, I use the fsolve command to determine my range of solution. Is there a way I can automate this process, meaning, can I write a program wherein I can get all the roots of the functions (w/o the jump discont. being shown as a root)at one go. Any help would be appreciated. Thanks
I am using a thir-party package made for Maple called HPC-Grid which enables parallel distribution of Maple programs over several porcessors. I wonder if anyone has any experiece using HPC-Grid. I am having problem with distributing global variables over the computing nodes. Can someone give me a hint on how to do it? Thanks
Maple shuts down when a 3d plot is left clicked. It produces an error log file which says: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x692287D5 Function=atiPPHSN+0x187535 Library=C:\WINDOWS\system32\atioglxx.dll My ATI video cards are both (there seem to be both a primary and secondary) RADEON X800 XT Driver: ati2mtag.sys Wednesday, August 25, 2004 I'm not sure if I've done a 3d plot on this machine since I installed Maple 10 (and since updated to 10.03). But this has never happened before.
First 66 67 68 69 70 71 72 Last Page 68 of 78