MaplePrimes Commons General Technical Discussions

The primary forum for technical discussions.
I do not understand why

f1 := proc(m, S::set) map(s->`if`(s={1},{m}, s),S); end:

f1(X, {{1}, {2}}); differs from inlined version of the same

f2 := proc(m, S::set) option inline; map(s->`if`(s={1},{m}, s),S); end:

f2(X, {{1}, {2}}); The first non-inlined version f1 is be my opinion correct, but what about the inlined f2?

There are a number of facilities in Maple which may be extended. Included amongst those are `type`, `print`, `evalf`, and `latex`. The help-page ?extension_mechanism claims that all the built-in functions allow for extension. It also mentions a few system Library routines such as `verify` (but does not mention `latex`).

There are some descriptions of varying completeness in a few...

Searching for something completely different (it sounds almost like Monty Python), yesterday I stumbled over the conversion of trigonometric expressions to radicals, see ?convert,radical, and I became intrigued: would Maple be able to convert cos(2*Pi/17) to radicals? It was not.

Gauss was the first to show that the 17-gon could be constructed using compass and straightedge. The expression 16*cos(2*Pi/17) in terms of radicals can be found at the Wikipedia page Heptadecagon.

Hi

I have just filled up my motherboard with 2 Gb of RAM (from 512Mb) and installed a DVD re-writer to my aging Windows XP(SP2) machine.  It is now lovely and everything seems to work except my Maple 9.5 in Standard view which will no longer start (although in classic it does and seems to work).  I am in my final year at university and using maple heavliy for the final year project so I am relatively desparate at the moment.

Hi,

I need to work on the classical interface of maple11 on my MacBook Pro (Mac OSX 10.5).

Since Leopard is certified as fully UNIX compliant... I thought I could install this version on my laptop.

First of all, I couldn't see what was on the Maple11 for Linux CD, so I did :

 

sudo umount /volumes/<device name

 

then mount into a temporary directory

 

Consider the following:
> [seq](x -> i*x,i = 1..3);
                 [x -> i x, x -> i x, x -> i x]
Why does it not produce output identical to the following?
> [x -> x,x -> 2*x,x -> 3*x];
                  [x -> x, x -> 2 x, x -> 3 x]
i wish to know how to install my Maple 10 onto my laptop which uses Windows Vista.
Hi, folks. I don't have much experience with Maple. At the moment I am trying to get an idea how the underlying algorithms for polynomial root-finders compare. For example, I believe MATLAB creates the companion matrix for a polynomial to then solve for its roots (eigenvalues). NAG routines use the method of Laguerre. NETLIB routines use the Jenkins-Traub Algorithm. What is the underlying algorithm used by Maple to compute the roots of polynomials?
Hi community, Could you please shed some light on the algorithmic implementation of Local optimization library. I'm confused about the difference between Local Vs. Global Optimization in terms of the algorithms being used. Is it the same algorithms for L vs. G Opt. with an improved version of the same algorithm in the Global package. Or it is completely different algorithms.... Thanks in advance
I really like the new Maple 11 plotting features. But I have a problem with them, they use the comma (,) as the decimal separator and the period (.) as thousands separator. Normal (2d) output correctly use the period as decimal separator, though. Maple 10 plots worked correctly also. The machine OS is Windows XP Pro, and the system language is Spanish. I have checked that I have specified the desired separators in the language control Pannel. Could this problem be related to java language specification ? Does anyone know how could I change this behaviour ?
How do I locate a particular theorem in Linear Algebra that I need for my research? I have been to conferences which seriously discussed a unified and universal bank of all known math theorems. Theoretically, all proven math theorems could be connected logically: A implies B. But, in reality, most proven math theorems are scattered throughout the literature. I have no access to a university with math journals. I might be able to do inter-library loan at my local community county college here in the United States. But, that may take a long time. I have no paid job. My earned income is only from social security disability.
I noticed that when using Maple my %CPU seems to be much higher than other apps. This is not just during computation. I may just be entering text, but once I have executed any commands in the worksheet or document the percent seems to stay between 50 and 70. I can stop entering anything for several minutes and it just stays at this level. As soon as I click outside the worksheet on the desktop or on another app it immediately drops down to practically nothing. If I then click back on the worksheet it stays down until I start to enter something and then it jumps back up. Is this typical? It gets things heated up pretty quickly and as far as I can tell it is my only app that does this.
We're running Maple 11 in a lab of about 40 MiniMacs (MacOS X). Normally, there is a Preferences choice under Maple 11 on the menu. But one student had no Preferences there (or anywhere else that I could find: in particular, not under Tools, where Options would be under Windows). What's going on?
I occasionally use e.g. expr := 1+a^2; eval( expr, 2=-1 ); to convert expr to 1+1/a. I realised recently that this can be dangerous: expr2 := 1+x+3*y; eval(expr2, 1=2); produces (rather suprisingly) 4+2x+3y. Investigating, pulling apart expr2 with op reveals the structure as being a sum of 3 terms, the last being a product. "ToInert" shows essentially the same. "dismantle" however shows expr 2 as being a single sum of the form 1.1 + 1.x + 3.y. So it is essentially the dismantle version that eval searches and replaces all the 1's by 2's. My question is whether there is some good reason for this. It would seem to me (without knowing much about the theory of computer algebra) that eval (and subs) should work on the operands as revealed by op or ToInert. Certainly it would lead to more logical results in cases like my example.
I was solving a task in flow through a pipe and noticed a result from int where floats were changed into a RootOf containing integers and fractions. I was surprised by the result. Here is a very simple example: f:=z->solve(y/(1.+(-0.5*y)^0.8)=z,y); v:=x->int(f,-10..x); v(-1); Is it common for Maple to change floats into integers and fractions for symbolic analysis? It seems to violate the rules. Thanks, Lee View 4238_Odd Solve Example.mw on MapleNet or
First 45 46 47 48 49 50 51 Last Page 47 of 78