MaplePrimes Questions

I've got a function y(x) that is initially defined as x^3+y^3=1 and need to plot it, and find y',y''.

At present, I've used implicitplot(x^3+y^3=1,x=0..5,y=0..5) to plot it, but that doesnt seem to work. Also, to find y'

I've used the statement

implicitdiff(g(x,y),y(x),x) where g:=(x,y)->x^3+y^3=1 but this gives me an error that my input is invalid; y(x) is expected to be of the form {(name, set(name), set(function(name))}.

I don't quite understand..

I would like to know how to verify
y=x e5x cos(2x)
is a solution to the differential equation
y(4) -20 y”’+158 y”-580y’+841y=0

Dear All

 

I have a question:

How can I computet the laplace inverse of a function that is below!

My version of Maple is 13:

It should be noted that r>0, \rho>0.5, y\in R.

 

> restart;
> with(MTM);
print(??); # input placeholder
> ilaplace(r^(rho-.5)*abs(y)^(rho-1)*exp(-r*y)/GAMMA(rho-.5), s);

I need to plot the maximum of x^2 and sqrt(|x|) together on one graph. I've currently defined a procedure f that uses an if-else construct for the given function. However, when I use plot(f,-3..3); I get the following error:

"Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct"

How do I resolve this error?

 

Hye, anyone know what is the float means?

and why maple cant gives the answer while the others software can?(for my problem)

hope anyone can help me because I really need this for my comparison study.

Here I have attached the file :.comparison_try1.mw

thank you in advance :)

Hello people in Mapleprimes,

 

I wish you to teach me about this.

From a matrix, I want to make a string.

 

pt3 := Matrix(4, 2, [1, 3, 4, 5, 6, 8, 5, 10]);

 

string1 := cat(

  "(", convert(pt3[1, 1], string), ",", convert(pt3[1, 2], string), ",", ")",

  "==",

  "(", convert(pt3[2, 1], string), ",", convert(pt3[2, 2], string), ",", ")",

  "==",

  "(", convert(pt3[3, 1], string), ",", convert(pt3[3, 2], string), ",", ")",

  "==",

  "(", convert(pt3[4, 1], string), ",", convert(pt3[4, 2], string), ")"

)

 

The above code makes 

string1 := "(1,3,)==(4,5,)==(6,8,)==(5,10)"

 

What I want to know is how to write a code of programming without writing each row of the above code.

Actually, though I wrote 4 row matrix above, the number of rows of matrix I want to deal with might be more than 100.

 

Best wishes.

 

taro

 

I am new to Maple. I am working though the manual and in chapter two I tried to get the derivative of ln(x^2+1). I am getting something completely different that the actual derivative. I tried a simple derivatie (the derivative of 2x and get 0). I do not know what I am doing wrong. Any help will be appreciated.

How can I link the axes in two or more separate plots so that when I zoom in one, the others are also zoomed. Also when I want to link the 'x' or the 'y' axis only.

Thank you

Dear mapleprimes users,

I have a problem with the LeastSquaresPlot(A0,[p, sec ]) function, for the vector A0, then it gives the error:

Error, (in Student:-LinearAlgebra:-LeastSquaresplot) all points must evaluate to numeric values.

I tried to convert the vector A0 to numeric values, but I didn`t succeed yet. I take A0 = vector(1..10,2) as an example, but still I get nothing.

Thanks for the help!

Yours

 

I've got the following equations :

x^3-4x=y, y^3-3y=x that I want to plot together over an appropriate range for x and y

I've tried plots[multiple]([eq1,x=-2..2,y=-2..2],[eq2,x=-2..2,y=-2..2]) 

but that doesn't seem to work. How can I rectify this error?

Following is the set of commands I performed.

> points := plots[implicitplot](t+sin(8*x^3*t)-x^3 = 0, t = -0.50e-1 .. 0.5e-1, x = -10/9 .. 10/9);
print(??); # input placeholder
> ptslist := convert([1, 1], points, listlist);

In an output I need the data at the specified values of t. It will be great favor, if someone can help me out.

Thanks

Dear mapleprimes users,

I have a problem concerning this function:

Naief := proc(A::integer,B::integer, p::posint)
local x, a:= A mod p, b:= B mod p;

 for x from 1 to p-1 do
    if a^x mod p = b then return x end if
end do;
print(¨No solution.¨)

end proc

It works fine for what it should do, finding x for a^x = b mod p by inserting x from 1 to p-1 until it finds an
apprioperate x.

My problem is concerning its computation time, which I like to calculate with:

Codetools:- Usage(Naief(a,b,p), output = [cputime], quiet, iterations= 2^12)

The problem is that keeps repeating

alot even when a,b and p are immensely huge. I don`t know how to fix it, because I need real CPUtimes which increase
a,b and p increase. I get the idea that the values of the CPUtime are not realistic.

 

Thanks for the help!

 

 

 

I'm trying to verify whether the result obtained from a recursive Legendre function that I defined is the same as that obtained from the function available in Maple.

The arguments for LegendreP() mentioned seem to be v,x where v is the algebraic expression's degree and x is the expression. I tried calling the function as LegendreP(6,x) since I am to obtain the value at n=6 but this statement is not giving me an output in return that I can use to compare.

Would I have to plot both functions in order to be able to compare them?

 

I've got a pair of equations :

x^3-4x=y and y^3-4y=x

 which I've defined as eqns:={,}

and 9 solutions as solns1:={,,..}

and being stored as s1,s2,..s9

when I run a command such as testeq(subs(s1,eqns[1])=subs(s1,eqns[2])

I get an error of passing invalid arguments into testeq. What I essentially need to show is that on substituting for x,y from each s1,..s9; both equations get the same result. What am I doing incorrectly?

I've also noticed that just subs(s1,eqns[1]) returns an equality; I don't quite understand why

Dear mapleprimes users,

I have a problem with this function:

B is the length of my array

A := Array(1..B,0);

for i from 1 to B do
p = nextprime(i)

a = primroot(p)

A[i] := A[i] + convert((Usage(mlog(b,a,p,method=indcalc), output=[cputime,output],quiet)[1],decimal,15))
end do;

A;

My idea is to create an array A with all the CPUtimes from the 1st prime til the Bth prime, and then plot it.

But my problem is that I get an error; Illegal use of an object as a name.

I don`t know what to do could you help me?

 

Thanks!

 

 

First 1321 1322 1323 1324 1325 1326 1327 Last Page 1323 of 2429