MaplePrimes Questions

I tried pairs of x and y:

> with(CurveFitting);


> points:=[[2.612499,16.24096]],[3.437499,14.21687],[3.437499,11.22891],[3.437499,8.192769],[4.262499,6.361444],[5.224999,7.662649]];

> h := PolynomialInterpolation(points, x);

I got

Error, (in CurveFitting:-PolynomialInterpolation) data points not in recognizable format

I also tried

> points := [0, 1], [1, 2], [3, -7], [4, -3];
    ...

Patch request - Patch work on bugs for Maple ceases when a new version of Maple nears release, possibly months before the actual release.  I think it's safe to say no work will ever be done to patch up older versions.  But how can we, the user, introduce our own fix code into maple?  Because we can't fix the built in code how can we temporarily or permanantly make our own patches?

For example prior to Maple 14 a bug exists in a ' for - in ' loop. ...

I have been watching a demonstration on youtube about LP and Interior Point Methods:

http://www.youtube.com/watch?v=MsgpSl5JRbI

He is solving a LP by using a barrier function and has a very nice simulation
in the end where the solution converges to he optimal point and mu goes to zero.
I tried to replicate it in Maple but I am strugeling.
I have attached an worksheet what I have done so far:

Hi,

I'm using solve and I want all the solutions within a certain value, but then within my procedure i'm looking to get a list of just the solutions by using the AllSolutions=true command I get:

a:=evalf(solve([sin(x) = 0.5, 0 < x, x < 10], x, AllSolutions=true,Explicit=true));
 {x = 0.5235987758}, {x = 6.806784084}, {x = 2.617993879}, {x = 8.901179187}

I then need to put them into a list [0.5235987758, 6.806784084,...]

so i either...

Hi Guys!

I need your help!

I made a maplet which contains an image in a label. Well, I would like to change this image when i click a button.
But it doesn't work. :S and already i have no ide! Please help me!! 

I have a question: how can I interpolate a 3-d data (x,y-variables vectors; z-function vector)  ang get a new interpolated function explicit polynom?

Thanks in advance! 

Hi. I need to plot a discrete set of points. I have the function, but the assignment is to print the points. I cannot figure out how to plot them correctly (yes, I've been reading the help). The points are created as values from functions and stored in arrays(?) (or, what I think Maple calls arrays), like this:

 

a := proc (t) options operator, arrow; (-1)*.12*t^4+12*t^3-380*t^2+4100*t+220 end proc
v := proc (t) options operator, arrow; (-1)*.48*t^3+36*t^2-760*t+4100 end proc

Hi guys

I've got a Jacobian matrix defined in my maple code to be:

m1

The matrix consists of expressions involving the variables R,X,Y,Z,t where R:=(X2+Y2+Z2)0.5

 

I wish to evaluate the matrix for X=1, Y=1, Z=1, t=1ONLY. but I want to leave R alone. I've tried using the code:

eval(m1,{X=1,Y=1,Z=1,t=1}):

but Maple evaluates it for all the vaiables including R.

Is...

How many times does the the sign of the product cos(x)*cos(x/2)*cos(x/3)*...*cos(x/2011) change when x passes from 0 to 2011*Pi/2?

Why is the max height always 0 in this code? Thanks.

 

>restart;

>a := proc (t) options operator, arrow; (-1)*.12*t^4+12*t^3-380*t^2+4100*t+220 end proc

printf("%10.10s    %15.15s\n", "Time (hrs)", "Height (meters)");

printf("%10.10s    %15.15s\n", "----------", "---------------");

amax := 0; tmax := 0;

for t to 4 do

alt := a(t);

printf("%6d        %10.0f\n", t, alt...

Hi!

> define( f , diff( f(x,y) , x ) = f1x(x,y) , diff( f(x,y) , y ) = f1y(x,y) );

produces

> diff( f(x,y) , x );
0

> diff( f(x,y) , y );
0

> diff( f(x,x) , x );
f1y(x,x)

So how can I do it correctly?

There are two data txt files:x0-y0.txt and x1-y1.txt,every one has two columns.
So, two functions can be made from the data,named y0=y0(x0) and y1=y1(x1).
I just want (y0-y1)/y0 at the same x coordinate.
Because it's too difficult to get it directly,I choose the curve fit method.
First,I used the command CurveFitting[ThieleInterpolation] to get two functions.
And then pointplot the (y0-y1)/y0 at the same x0 coordinate.
Surprisingly,the plot is discontinued.

Why is it when I read an image a:=ImageTools:-ToGrayscale(ImageTools:-Read("f:/example.bmp")) saved as a bmp saved from the internet and try b:=Threshold(a,0.5,method=above) gives me this error.

Error, (in ImageTools:-Threshold) unable to store 0.107651138030195570e-293+0.522826466871872160e-288*I in a datatype=float[8] rtable

However when I open the bmp in paint and resave the image in either 24 bit 256 color, doesn't really matter, but a format of bmp...

 

Hello Friends,

I have the equation

 

Hello-

I am trying to find an analytic solution to a cubic equation of the form ax^3 + cx + d, where a, c, and d are rather complicated coefficients.  If I simply use the solve command, it gives the solutions assuming that the discriminant is negative (that is, one real and two imaginary solutions).  However, I want the solutions in the case that the discriminant is positive (the solutions have a different functional form; it's not the case that the imaginary solutions simply become real...

First 1874 1875 1876 1877 1878 1879 1880 Last Page 1876 of 2434