Items tagged with package package Tagged Items Feed

Hi,

I would like to know if there are any command that can generate the first n terms of the fourier series expansion of a piecewise continuous function ( and/or its odd/even extensions). I am looking for a command similar to what the taylor( ) command does for Taylor series.

I found some references on packages such as "OrthogonalExpansions" and "Fourier" none of which are avaliable with a standard Maple installation. If user-defined packages are my only option,...

I have a problem with inputting a new package in my version of maple (15) for mac. The packes makes it possible to do calculations with cos/sin/tan in degrees instead of radians. I need to use this for my Engeneering studies in Denmark.

In pc you just place the package in the labrary subfolder under the Maple 15 folder, but i can't find that subfolder anywhere on my mac??
Where should i put the package to make it work?

I have 2 files; "Trig.ind" and "Trig.lib" - whichone to use?

I want to create a package, lets call it Accellib. I want to be able to load it using the usual with(Accellib); construct.

So I have created a module, included the option package and right now one procedure, the name of which is exported. Within the worksheet; this works. This package will grow as more stuff gets added. I want to put it into a directory of my choice, which is NOT the directory where Maple stores the packages from its distribution; I like to keep them...

hello everyone, I have a numerical methids exam in acouple of hours and I just dound out that maple 11 on our campus computers has an old student package tht doesnt include numercalanalysis , is there anyway to update it ?

When using Maple 15, sometimes the pagackages and formulas that were previously defined seem to completely drop it.  I'll load packages and assign variables at the beginning of my project, yet after maybe 10 minutes or so, I have to redefine my variables and reload my pacakges.  I have noticed that it happens more often if I try to switch over to the "Text" tab and then back to "Math."  It's very intermittent, Maple will be working just fine churning out graphs,...

Hi all

Im trying to calculate scientific error propagation with data from Excel. Unfortunately Im having troubles making the package work. What I want to do is import a list from Excel with values, and another list of the error of each value.

The problem comes when using the Combine function on the imported arrays from excel.
Could anyone help me work this out? I feel it should be possible for Maple to import tables from Excel, calculate the propagated error. ...

I was solving one Math puzzle and found out a strange behaviour of the Optimization package commands in the Classic Worksheet.

Let us minimize the function 7*x+3*y under the constraint 6*x+2*y >= 49 for non-negative integers. When I type

Optimization:-Minimize(7*x+3*y, {6*x+2*y >= 49}, assume = nonnegint);

How do I add constants in a new package under an existing one?

For example, I want to add a new package named Astronomy under the Scientific constants package that contains more solar system data ie M[Jupiter], M[Saturn] etc...  or is it better to create the new package by itself?  How?

Is there a bug in the CodeTools:-EncodeName / DecodeName pair?

Consider the following minimal example:

with(CodeTools):
M := module() option package; export f; f := proc() end proc; end module;
EncodeName(M:-f);
DecodeName(%);

The EncodeName gives answer:

_Inert_ASSIGNEDLOCALNAME("f", "PROC", 0, _Inert_ATTRIBUTE(_Inert_NAME("protected", _Inert_ATTRIBUTE(_Inert_NAME("protected")))))

But applying...

Hi everybody,

during testing the physics package I tried the following example

with(Physics):

Setup(anticommutativeprefix = {Q});

G:= Intc(Q1(x),Q2(y),x,y);

Fundiff(G,Q2(u));

The output of the last command seems to be wrong. The Maple Help does not say anything about functional derivatives with respect to anti commuting functions.

Is there a possibility to perform such functional derivatives with respect to anti commuting functions in Maple?...

Does anybody have such package that converts function in series of powseries package i.e. addable, substructuble and so on. And mayby with functionality of series itself i.e. remember asymptotic point for which O(x^n) was present as simple series returns. I think with such pakage limit in attach limit_test.mw

 

The Physics package appears broken for the tensor product of Bras and Kets.
It is not possible to describe new operators creatde by the tensorial
product of operators on two Hilbert spaces. ie H12 = H1 X H2

Download BraKetTensorProduc.mw

Am I missing something here.

Thank you for your help

So, I do the following calculation and all is well

Units_Package_righ.pdf 

I close Maple, it asks me to save and I do.  Then I open the worksheet again and push the "!!!" button and I get

Units_Package_wron.pdf  

The calculation is done without the benefit of the units package.

pre-sized plots

September 24 2011 by acer 6926 Maple

The goal here is to produce plots for inclusion inside Worksheets or Documents of the Standard GUI at specific sizes.

When manually resizing an existing plot, using the mouse pointer, there is no visual cue as to what pixel size has been attained. Hence any worksheet author who wishes to produce a plot of size 600x600 is presented with two barriers. The first is that resizing must be done manually, and the second is that there is no convenient mechanism showing the actual size attained.

The `Resize` package attempts to address these barriers by allowing construction of a plot, inside a worksheet, with programmatically specified width and height in pixels.

The default behaviour of the package is to produce the plot inside a new Worksheet, from whence it may be selected and copied. An optional behaviour is to show the constructed plot inside a Task Template (a form of help-page), where it may be previewed for correctness and inserted into the current Worksheet or Document at the press of a single button.

It appears to function for both 2D and 3D single plots.

It won't work for so-called Array plots, which are collections of multiple plots displayed side-by-side inside a worksheet table.

This first version is a bit rough. The plot is currently being inserted as input, which is why it isn't centered on the page. I suspect that it would be best to insert the first argument (eg. a `plot` call) as input to an execution group, and then have the plot be the output. That would look, and hopefully act, just as usual. And with the plot call inserted as input, the original `Resize` call could be neatly deleted if desired.

To install this thing, use the File->Open from the Standard GUI's menubar. Choose this .mla file as the thing to open. (You may have to slide a scrollbar, and select a view of "All Files", in order to see it in the pop-up File Manager.) Double-clicking on the file, to launch it, should ideally also open it but it looks like that functionality broke for Maple 15.

Resize_installer.mla

Alternatively, you could run the command,

march( 'open', "...full...path...to...Resize_installer.mla");

The attached .mla archive is a (graphically) self-unpacking installer, when opened in this way.

The bundled materials include a pre_built .mla containing the package itself, the source code and a worksheet that rebuilds it from source if desired, a short example worksheet, and a worksheet that rebuilds the whole installer (and re-bundles all those files into it). I used the `InstallerBuilder` to make the self-unpacking .mla installer, as I think it's a handy tool that is under-appreciated (and, alas, under documented!).

It's supposed to work without the usual hassle of having to set `libname`. This is an automatic consequence of the place in which it gets installed.

It seems to work in Maple 12, 14, and 15, on Windows 7. Let me know if you have problems with it.

acer

1 2 3 4 5 6 7 Last Page 1 of 29