tomleslie

13876 Reputation

20 Badges

15 years, 167 days

MaplePrimes Activity


These are replies submitted by tomleslie

@zia9206314 

Well my Matlab, 8.6.0.267246 (R2015b),  cannot compute the Heun Triconfluent function, so one would be banjaxed from the start.

I have just revisited Matlab's root-solving capabilities:

  1. fzero() - essentially the same as Maple's fsolve()
  2. roots() - essentially the same as Maple's roots() function - ie only works for polynomials
  3. nothing else - although I suppose there might be something if one pays for an additional toolbox or two!

So basically, in Matlab, there is no way to calculate the Heun triconfluent function, and no way to simplly compute the roots of non-polynomial functions.

OP should post the Matlab code on which the claim

As you said I noticed that Maple can't solve this problem as good as Matlab..

is made: but, for the above reasons, probably won't

@Adri van der Meer 

Because RootFinding() searches to the right from the previous root, the root values should be monotonically increasing. The fact that the fourth root is negative(!!), suggests that RootFinding() is still having numeric problems, even with Digits=30

Also on win7, 64-bit

Help--> About Maple tells me I am running Maple 2015.1, Build ID 1045715.

If I use version() at the Maple command prompt, then it returnss

                                        User Interface: 1045715
                                                   Kernel: 1045715
                                                  Library: 1045715
                                        Advanced Engineering Mathematics (version 17) with Maple: 816858
                                                               1045715

If I use Tools-> Check for Updates, then I am informed that updates are available. When I download/install these updates, then Help-> About Maple tells me I am running Maple 2015.1, Build ID 1049007.

If I use version() at the Maple command prompt, then it returns

                                           User Interface: 1049007
                                                      Kernel: 1049007
                                                     Library: 1049007
                                          Advanced Engineering Mathematics (version 17) with Maple: 816858
                                                                 1049007

So something got updated!!

Do I know what these updates are - No: I assume that we are talking relatively minor bug fixes/enhancements

 

Like others, I am somewhat uncertain about exactly what you are trying to achieve

Following the description in your original post, I came up with the following

trickInt.mw

which may (or may not) be complete rubbish

Acer is correct about the implicit multiplication/ function application point - this point in fact caused the appearance of REv(-1) and REeff(-1)

After I corrected this I realised that you were in fact doing a lot of retyping from the output of one command to the input of the next command (maybe with the help of cut-and-paste), and then performing a relatively minor manipulation. Whillst not incorrect, this is error-prone and therefore bad practice.

Consider the attached worksheet which does the same calculation as you are performing, but in a much shorter, neater, easier to understand way

maple8Alt.mw

  1. I shouldn't have to retype your code because you are incapable of uploading it in a form which I can use. In future, use the big green up-arrow in the MaplePrimes toolbar to upload code. Failing that post code in text form, rather than unusable picture
  2. When I do retype your code, Maple responds immediately with `Error, (in isolate) unable to isolate REv` - fair enough. Just because you want to isolate a particular variable in an expression doesn't mean it can be done!
  3. What do you mean by the statement "the program doesnt respond.do you know why?", Upload some code which shows Maple "not responding"
  4. Your expression contains both REv and REv(-1) - is there any relatonship between these two quantities? If so what is it? (Same applies to REeff and REeff(-1) ) -  this may, or may not, be a problem for isolate() - but it looks weird and probably isn't helping

Are you really teling me that given a set of x coordinates and a set of y-coordinates - you can't work out gradients!!!!

See the attached

PDEplt4.mw

restart;
f:=x->(7-x)*sin(x^2-7):
Student[Calculus1][CriticalPoints](f(x), x = -2.4..2.4, numeric=true);
Student[Calculus1][InflectionPoints](f(x), x = -2.4..2.4, numeric=true);

First of all, I suggest you run the code

restart;
f:=x->(7-x)*sin(x^2-7);
f1:=D(f);
plot(f1, -10..10);

just so that you can see how many "solutions" there are for f1(x)=0.

If you are not impressed then extend the plotting range to -1000..1000

How would you expect Maple to tell you what all of these solutions are?

Maple is telling you that there is a solution to f1(x)=0 for every root of the expression contained within the RootOf() construct - and I'm guessing this number is of such solutions is infinite.

Did you want any particular one of these solutions?

@pivusan 

I finally got around to looking at your Model01.mw worksheet, but there were so many syntax/logical errors that I gave up about half way through.

I suggest that you read the comments in the following

corrModel0.mw

and fix/clarify a lot of these because otherwise I won't be looking at this again

Reading the help for either printf() of plot() would solve both of your problems. See the attached

euMethod3.mw

@pivusan 

See the attached worksheet for the right (and wrong) ways to enter differentials evaluated at some specific value.

When considering boundary conditions for ODEs or PDEs you should use the D-operator approach

diffAndD.mw

Have to go do something else now: I might get a chance to look at your PDE solution problem later

Suggest 2 columns and 20 rows would be better

Just use some kind of formetted print statement - as in

seq(printf( "       %2d   %14.12f\n", j, xx[j]), j=0..19);

If you can read a wav file and plot a wav file then (obviously) Maple can determine the underlying x-y data.

Since Maple can determine the underlying xy-data then this data can be obtained as a matrix/array whatever

I suggest you upload the wav file and the Maple worksheet which reads/plots it. Use the big green up-arrow in the toolbar of the Mapleprimes entry window

The code I sent you was tested in Maple 2015.1, executed correctly and produced plausible answers. Is this code correct?

Until I know the answer to this question I will not even look at any new "issues"

I only ever fix one problem at a time!!!!

First 175 176 177 178 179 180 181 Last Page 177 of 207