MaplePrimes Questions

Search Questions:

Latest Questions Latest Questions Feed

I don't even know where to start with this one:(

 Write a procedure PRIME_BRACKET that takes as input any positive real number (not just an integer) and finds the smallest prime number larger than or equal to the input.

How would I do the following?

1. Write a procedure MY_MAX to compute the maxiumum numerical number of a list L, which may contain ANY type of expressions. If there is no numerical number in L then return ERROR.

2. Write a procedure PRIME_BRACKET that takes as input any positive real number (not just an integer) and finds the smallest prime number larger than or equal to the input.

I'm new with maple and I can't seem to fix my problem. I want to enter in a textbox1.text in Visual Basic, a function -cos(x) for example- and calling a maple procedure to differentiate it and print it in textbox2.text

I've tried EvalMapleStatement and tried also to convert from maple object the result of diff() function with MapleToString.  

Maybe you can also tell me what sort of result returns the function diff(). VB recieves only some numbers that are different for every function I input in textbox1.text from what i've done here.

who can help me with following question?

Write a procedure MULTIPLYMATRIX to find the
multiplication product of an h x i matrix and an i x j matrix.

that is what I do. is it right?

mult := proc (A, B, C::evaln) local h, i, j; h := LinearAlgebra[rowdim](A); i := linearalgebra[coldim](A); j := linearalebra[coldim](B); A := array(1 .. h, 1 .. i); B := array(1 .. i, 1 .. j); C[h, j] := `&*`(A[h, i], B[i, j]) end proc

 

Is it possible to change the x_axis to an expanded scale for values less than zero, and keep the regular scaling for positive values?  In other words, display the x-axis from  -1 to 0 using all the real estate on the left side of the y-axis, and 0 to 10 on the right side.  Ratch

While looking at a Maple demonstration, it appeared to me that a intricate math expression was cut and pasted or dragged somehow into the text field, or next to a text field of a plot to become part of its documenation.  The demo went so fast.  When I try that, it does not work.  I can easily annotate the plot with text and math expressions if I type the math expressions manually, but I was hoping to bring the math expression in from somewhere outside of the plot.  Is that wishful thinking, or is it possible?  Ratch

hey everybody...i need your help

we have to define monotony interval of polynomial functions

i only managed to solve roots from the first derivative

does anyone have a clue ??

Complex Question...

May 01 2009 sansar 72

Give an example of a 3x3 matrix having only two eigenvalues, one with corresponding eigenspace of dimension one and the other with corresponding eigenspace of dimension two. I need to also justify my answer by finding a basis for each eigenspace.

I need to mark the point in which x,y,z interesect on a 3-d graph.  Can anybody offer and advice as to how this can be done?

 

Hello,

I'm using maple12 and I have a problem with a homework:

restart;
with(plots);
with(DEtools);
eqn := D(y) (x) = sqrt(x^2+y(x)^2);
plot1 := phaseportrait(eqn, y(x), x = -5 .. 5, [[y(0) = 0]], y = -5 .. 5, linecolor = [blue], dirgrid = [30, 30]):
plot2 := implicitplot(x^2+y^2 = 1/4, x = -5 .. 5, y = -2 .. 2, grid = [100, 100], color = green):
plot3 := seq(implicitplot(x^2+y^2 = k^2, x = -5 .. 5, y = -5 .. 5, grid = [100, 100], color = green), k = 1 .. 5);display([plot1, plot2, plot3])

hello,

i have had many troubles with maple 12 recently, and perhaps some of you could educate me on how to do things better.  although i could use different software, i've been doing this particular project on maple and figure that it should be able to work.

Write a procedure INVERSE2by2MATRIX to find the
inverse matrix of 2 by 2 matrix.

THANKS

who can help me with following question?

Write a procedure MULTIPLYMATRIX to find the
multiplication product of an h x i matrix and an i x j matrix.

that is what I do. is it right?

mult := proc (A, B, C::evaln) local h, i, j; h := LinearAlgebra[rowdim](A); i := linearalgebra[coldim](A); j := linearalebra[coldim](B); A := array(1 .. h, 1 .. i); B := array(1 .. i, 1 .. j); C[h, j] := `&*`(A[h, i], B[i, j]) end proc

 

 

I want to increase the length of a slider so I can display more values .

How can this be done ?

Hi, I have written the following code in maple.. which I have to compare with the crank-nicolson scheme written in matlab.. that code is well.. but this is not working.. i need to analytically solve the heat equation PDE := diff(u(x,t),t)=1/2*diff(u(x,t),x,x) IBC := {u(x,0)=T0, u(0,t)=0, u(d,t)=0}: vals := {a=1/2, T0=0.1*sin(x), d=pi}: PDE := eval(PDE,vals); IBC := eval(IBC,vals); sol := pdsolve(PDE, IBC) i get this error Error, (in pdsolve/sys) too many arguments; some or all of the following are wrong: [{u(x, t)}, {u(0, t) = 0, u(pi, t) = 0, u(x, 0) = .1*sin(x)}]
First 766 767 768 769 770 771 772 Last Page 768 of 1066