Carl Love

Carl Love

28035 Reputation

25 Badges

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

MaplePrimes Activity


These are replies submitted by Carl Love

@vs140580 The limitation of your Excel is that the number of columns must be less than 256. So how is writing row-by-row going to help with that? Did you intend for there to be 256 columns or 16 columns? If 16, then it's trivial to correct it in Maple. For example, instead of sending to Excel, you could send A[.., ..16] (if the 1st 16 columns have the numbers that you want).

@vs140580 For the situation you now describe, the variables ABC, etc., are not needed, and I recommend that you not use them. All that you need is

for i to n do OutMat[i]:= F(M[i]) od;

where and OutMat are matrices with n rows (they don't need the same number of columns) and takes vector input and produces vector output.

By the way, the word doubt in your most-recent Reply's title should be question. I mention this because if you use doubt that way, it could be misunderstood as slightly offensive, and I doubt that that was your intention.

@Christopher2222 The context menu works for that. For example, enter 

20.*Unit(MPa);

select (i.e., mouse-highlight) the output, right click, choose Convert Output Units, enter psi in the Enter Unit field (the other fields can be ignored), and click Okay.

What you're experiencing is an issue with the display (the display only, not the computation) of all vectors and matrices above a certain size; it's not specific to unit conversion. In other words, all the computations (unit conversions in this case) have been done and are stored in the vector, but that vector is not being shown (or shown completely) on your screen. The default number of rows (r) or columns (c) shown is 10. You can change that setting with the command

interface(rtablesize= [r, c]):

where r and c are nonnegative integers or infinity. This only needs to be done once per session (i.e., per restart).

@Earl Yes, MaplePrimes might have a problem with the worksheet name; try removing the underscores.

@Christian Wolinski You can give a name to that "unnamed module" if you want:

main:= ():
main:-`+`(1, 1.1);

 

Try uploading the worksheet with the "Insert contents" button instead of the "Insert link" button. In my experience, this always inserts the link even if it fails to insert the contents.

@Christian Wolinski Sorry, I misread your Question. I read "undo" as "do".

Have you read the help page ?overload and not understood it? Or were you not aware of the help page?

I wrote:

  • It's asking min for the position in the list of the minimal entry rather than the entry itself.

And the reason that I did that is that the Question asks not for the minimal value of but rather for the value of z that produces the minimal value of F.

@nmacsai If you simply omit the background option from the plot command, does that do what you want?

@Ronan The index is an option to min or max and isn't connected to solve. It's asking min for the position in the list of the minimal entry rather than the entry itself.

@Christian Wolinski minimize in Maple 2022.1 doesn't complete (in reasonable time) for me either. 

What could you possibly see from a contour plot of only 21 function values of which 19 are identically 0?

@south The assignment of initial conditions should be a single assignment for multiple initial conditions:

ics:= y(0)=1, D(y)(0)=0;

Doing as you did, the second assignment erases the first.

First 88 89 90 91 92 93 94 Last Page 90 of 708