MaplePrimes Questions

Search Questions:

Latest Questions Latest Questions Feed

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...

Hello

I'm working on a project, where I need to create some user friendly proc/modules. I need it to ask for the variables e.i.

'Enter equation'

'Define range'

etc. but I have no idea how to do so. Can you describe a method of doing so?

 

Is there a way to obtain the code for BrownianMotion function in Maple15?

I tried

interface(verboseproc = 2);
readlib(Finance:-BrownianMotion);
print(Finance:-BrownianMotion);

but these only give

module () local ModuleApply, BrownianMotion, BrownianMotion1D; end module

Where do I go from here? Thanks.

With Maple15, how do I get this

sigma^2*(1+(lambda[0]+lambda[1]-2)^2+(1-lambda[0])^2)

from

with(Statistics):
R := 'RandomVariable(Normal(0, sigma))'; a := [`$`('R', 5)]
Variance((1-lambda[0])*a[3]+(lambda[0]+lambda[1]-2)*a[4]+a[5]);
simplify(%, size); collect(%, {sigma, lambda[0], lambda[1]})

In general, how do I simplify an expression when it can be stated as a sum of squares? I suspect I am missing a general simplification technique. Thanks.

 

Hi All

If we have extensive material in pdf format and we want to tranfer this information to Maple and use it it as the main editor and word proceesor on a go forward basis - Is it possible to copy a pdf document with extensive equations into Maple while maintaining the format particularly of the equations, pictures, drawings and plots? Any copying and pasting I do now garlbles up the equations, plots and pictures of the pages I import to Maple...

First 789 790 791 792 793 794 795 Last Page 791 of 1349