MaplePrimes Questions

I was wondering if there's a simple way to add something like an interpolation loop to a procedure. For example, say I have a function of 2 vars which is expensive to compute, f(x,y). I can use option cache to speed up points which are already computed, but is there an easy way to interpolate between them using ArrayInterpolation? That is, if f varies on scales of order 1, if I have calculated it at 0.1, 0.2, then It can be guessed with a spline at 0.15 accurately enough. What...

The question is to find the area bounded by x = 0, x = 4, y = 0, y = 1/(1 + x6).

 

I am assuming I am going to use int, but I don't really know where to go from there.

dear community

I have  problems 1): in solving "rational difference equations" in Maple.

what is the code for solving this kind?

2): plotting difference equations

3):openf and printf command" how I make my results in the same folder as a table?"

Thanks

Help_Lplot.mw

I cannot get the proc Lplot to work in the worksheet above. Will someone please help?

Hello,

When I type "hypergeom([a+1,b+1],[c+1],z);", Maple switches "[a+1,b+1]" to "[b+1,a+1]" when using the 32-bit command-line interface.  This does not happen when using the graphical java user interface, nor with the 64-bit version...

Why does this happen?

-- Regards,

Franky

I'm having trouble using the Jacobian command for predefined vectors. I have defined several 3x1 matrices, concatenated them to a 12x1 matrix, then when I'm taking the Jacobian I get the following error:

Error, invalid input: VectorCalculus:-Jacobian expects its 1st argument, f, to be of type {Vector(algebraic), list(algebraic)}, but received Matrix(10, 1, {(1, 1) = v[x], (2, 1)...

Can anyone tell me what I'm doing wrong here?

Thanks so much in advance!

I need to find the eigenvalues for a matrix using the power method in Maple 14 . I want to iterate Xn+1=PXn until it has reached a certain degree of accuracy where P is my matrix and X is a column vector. 

I have tried:

> while(abs(X1-X0)>0.0000001);

> do

> X1 := X0

> X1 := PT.X0

> end do;

but I get this error: 'Error, unable to parse'

Please could someone help?

upload.mwDear all, Can someone find what my mistake is?

Hi to all, 

I would like to know where if I could plot two functions (both are computed by "if statements") on the same graph and could maple read "where" like VB (if ...where...end if)

Your help is appreciated

hi

i have tried Maple help but could not find any answers.

would appreciate some help on how to construct an algorithm for a Pell's equation with D = 29 (x^2 - D*y^2 = 1)

That is x^2 - 29*y^2 = 1.

i know that there is an infinite number of solutions, but would appreciate the first 5.

(x_1, y_1), (x_2, y_2), ... , (x_5, y_5)

many thanx,

antonio

hi. i write a program consists a for loop in which cycle 'i', x[i] and hz[i] is calculated.

now i want to plot hz[i] correspond to each x[i].

this code is working but how to brief them?

hhz := piecewise(x < X[1], hz[1], X[1] < x and x < X[2], hz[2], X[2] < x and x < X[3], hz[3], X[3] < x and x < X[4], hz[4], X[4] < x and x < X[5], hz[5], X[5] < x and x < X[6], hz[6], X[6] < x and x < X[7], hz[7], X[7] < x and x < X[8...

I have the following procedure that generates Sierpinski's triangle:

seirpinski := proc (n)
> local Mat, Vector1, Vector2, Vector3,
> Prob1, Prob2, Q, prob, counter, fractalplot;
> Mat := linalg[matrix]([[.5, 0.], [0., .5]]);
> Vector1 := linalg[vector]([0, 0]);
> Vector2 := linalg[vector]([0, 0.5]);
> Vector3 := linalg[vector]([0.5, 0]);
> Prob1 := .333; Prob2 := .333;
> Q := linalg[vector]([0, 0]);
> writedata("fractaldata", [[Q[1...

Hi,

I have a vector of points which sample the graph of a spherical function, say f. My definition for the graph of a spherical function is :

points[k] = f(x_k) * x_k     where  x_k \in S^2   .

Right now I use pointplot3d to obtain a rough visualization of my function. However, I'd like a plot that looks like a solid surface, the way plot3d output can look. 

Any ideas?

Thanks for any help!

How can I calculate F(6/7) - F(-6/7) to find probability related to central limit theory?

I need to first use the F:=x-->y to define F. What I'm getting is not helping me answer my question. could someone please tell me the steps to find an answer? 

First 1891 1892 1893 1894 1895 1896 1897 Last Page 1893 of 2434