MaplePrimes Questions

I use the following commands to export a graph to a file:

plotsetup(gif, plotoutput=cat(filefolder,examplenr,".gif")):
print(display([pol],color=grey,scaling=constrained,axes=none,view=[0..100,0..100])):

filefolder is defined as a complete path: filefolder:="D:/TopUp/models/vergelijking/":
And pol is a pol:=plottools[polygon](polygonlist,color=grey): 

This works fine when I use it directly in a Maple worksheet.

However, if I save...

We want to fit

f(x) = a_0 + a_1 *x + a_2 * x^2 + ... + a_n * x^n

to the data (x_i,f(x_i)) for i = 0 ... n.

 

It will give rise to the following system

[ a_i ] = [A]^{-1} * [ f(x_i)].

 

Here [a_i] = [ a_1 a_2 a_3 ... a_n], 

[A] = [ 1 x_0 x_0^2 ... x_0^n ; 1 x_1 x_1^2 ... x_1^n ; 1 x_2 x_2^2 ... x_2^n ; ... ; 1 x_n x_n^2 ... x_n^n]

and 

[f(x_i)] = [f(x_0) f(x_1) f(x_2) ... f(x_n)].

I want to know how to take the fourier transform of a solution to an IVP obtained using dsolve/numeric and consequently plot the transform. any ideas?

 

Hi!

i'd be glad to get some help with that problem:

i want to do a plot3d of serveral functions depending on x1, x2.

My problem is the that I need it to be plotted on a triangular domain. i.e. the triangle limited by the edges (0,0), (0,1), (1,1).

I tried the following:

p[i]:= plot(phiX1[i](x1,x2),x1=x2..1-x2,x2=0.. 1);

and received:

Error, (in plot) expecting a real constant as range endpoint but received x2

I have an animated spacecurve with arrow:

restart:with(plots):

p4:=animate(arrow,[<cos(tend),sin(tend),0.9 tend>,<-cos(tend),-sin(tend),0>,color=red],tend=0..50,axes=boxed,frames=150);

I succeed in putting text at basis of arrow:

l3:=animate(textplot3d,[[cos(tend),sin(tend), 0.9 tend, 'basis'],color=black,align={BELOW},font=[TIMES,ROMAN,14]],tend=0..50,frames=150);

I like tot put text at the end of the arrow. This is my 'progress':

Hello evrybody,

my first question here.

 

i'm a engineer studend in electronic and i'm working on the inverted pendulum problem at my university.

 

so i need to use the lagrange way to get my equations in the good form.

 

i have this equations :

Hello,

I have a plot of a cylinder with points singled out.

Firstly, the points are currently given by (x,y,z) but I would like them in terms of (r,θ,z), how can I do this?

Secondly, I was wondering how to assign to each point an [i,j] value? So you could have r[i,j], θ[i,j] and z[i,j] as matrices of the points?

Points_on_the_initia.mw

Maple is saying 'Error, Vector index out of range'. Can you see how maple executes all steps, so I can see where exactly the problem is?

I want to solve the system A - B = C to A, with A, B, C matrices and the variables in the matrix C are a combination of the variables in A. How do I do this?

http://www.maplesoft.com/applications/view.aspx?SID=33040&view=html

it can calculate from numeric data, is it the end?

where do multiset coming from?

if given a multiset, and calculate its power sums, then i express this power sums in terms of symmetirc polynomials, what is the purpose of this?

I often have to create density plots with many (thousands of) points. Hence the first thing I do when I install a new version of maple on linux, is edit dir_of_maple/bin/maple so that

JAVAHEAP=512

is instead

JAVAHEAP=4096

I have done this for years and never have any memory problems. But recently I have sent my code to someone who runs Windows and they seem to have "out of memory" issues when trying to do density plots of large datasets.

 

Hello,

I am trying to modify Maple code so I have a vertical spring with a mass starting at (0,0). The spring with the mass should move right and left along x. My vertical spring move up instead of down while the mass move to the right .

Any Idea about how I can get the right movement of the spring?

 

Please ignore the equation eq since I am only trying to have an animation spring with a mass.

 Thank you

Hello

 

I've to do some geometric work ; the problem is that it seems to me there will be no other solution than trying a different approach of the problem, due to huge amount of time required by computation...

 

However, I would have liked to learn how my program can be fastened. I've heard of multi threaded programming model ; could it be applied here ?

To simplify, I have a initial point (its coordinates). My procedure...

hi friends..!!
I am working on 1d heat equation with finite difference method and i have made rough code for it in which i considered mesh size of 4 in x direction as wel as in time space. By initial condition am known with points (0,0) (1,0) (2,0) (3,0) and (4,0). AS boundary conditions are neumman as u can see in code below i have attached. Now my problem is loops in end of program is not picking internal nodes like (1,1), (1,2), (1,3),(1,4), (2,1),...,(4,4). So please...

I just bought Maple 17 and tried to find a couple of Newman-Penrose spin coefficients.  I can do it by hand, but when I try to do the same thing using Maple I am stuck.  Maple lets me define an orthogonal tetrad, then I convert that to a null tetrad.  But how do I then fiind spin coefficients?  I know Maple has an entire list of metrics (385) already loaded, but I need to investigate different Petrov types to develop a metric.  Thanks.

First 1603 1604 1605 1606 1607 1608 1609 Last Page 1605 of 2427