Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi all,

since i found a way to replace a function like sin i was wondering about it's behavior. I replaced it with:

sin := proc(x):-sin(x*Pi/180);end proc:

The main problem is when i use the proc it execute like a normal proc, and not like the actual sin function. here is some exsamples:

Good Afternoon Everybody,

Attached is copy of Maple file that I'm working on. My first question is, I have used Maple to do linear interpolation inside the procedure to output the coefficient of A(x,T) and B(x,T) with no results would anybody please help.

My second question is if  the variable is a list of values along the length of pile x := [0.0, 2.0, 4.0, 10.0, 15.0, 20.0, 25.0, 30.0]*ft , how should I modify the procedure such that the each value in the list generate A(x,T) and B(x,T).

Please Help.

Regards,

Moses

How can I save an array plot as an eps(or any other format) in maple. Right now when i am trying to do so it saves just one element, (using plot->export->encapsulated postscript etc...). How can I save the complete array as a single eps file.

If I have a univariate in negative powers , say,  a*x^(-1) + b*x^(-2), maple will expand this expression as

a/x+b/x^2

how can I prevent maple from converting negative powers to explicit division in 1D / 2D - Output, i.e. I want to keep the polynomial displayed as

a*x^(-1) + b*x^(-2)

?

 

 

 

 

Dear all, Is it possible for maple to do image cropping? The problem goes like this: i have two images. Image A: a image containing a random shape which is enclosed. Image B: is a normal image What i want to do is: Crop Image B using the shape in Image A. which comes to my mind is: Step 1: read a list of pixels representing the shape in IMAGE A. Step 2: set the pixels in IMAGE B which are not equal to the list of pixels to be "transparent" Is it achievable in Maple? Or matlab can do it also? Thanks all.

which command terminates the execution of the rest of a maple program?

In earlier versions of maple, to jump some characters forward we used tab, but in maple 13 it does sth different, is there any hot key to do that?

Hi,

 

    I am trying to plot a rather complicated funtion in semilog plot. The x axis is in log scale, and x is from 1e-7 up to 10. I was able to have it work out except the points are not uniformly distributed. Most of the points are condensed within a small range between 0.1 and 10. So it is not clear how the curve is like from 1e-7 to 1e-2. Is ther anyway aroung that? Thanks a lot.

Yu

Hi all,

i was trying to make a package at my new maple 13. When bad and i ended up getting a error, when doing:

Driving me crazy:

lowest_gradient := proc(a) local i, b, c, gp, gn;

b := Array(1..5):
gp := Array(1..5):
for i from 1 to 5 do:
print(a);
b := a;
b[i] := a[i] + eps1;
gp[i] := b;
end do:
end proc:


d := lowest_gradient(initial_point);

 

If you try the loop for yourself, you will see that it is changing the value of the local variable a each time the loops runs, yet I have no idea why, since I have not put any code which should change the value of a.

 

I want to build a sequence with random step between numbers, the first number must be 0 and the last must be 10, for example:

No of numbers 6

[0,2,3,6,9,10]

seq function does not allow rand function, is there any other way?

I have a vector and after some manipulation, some of its values are rational and some are decimal with fixed 10 digits after decimal point which is default for maple 13, I want to show all of them in decimal numbers with no zeros, e.g.

[1.1000000000, 2/3, 2.3150000000,10.0000000000]

 

is there any way to do this?

I have some troubles in solving a system of a complex equation using the function 'solve' of Matleb.The program finds no solution but a message of 'Warning: Warning, Warning: Explicit solution could not be found.

x=0:10000:500000;

solve('((2*y*(y/r^2-x)^0.5*besselj(1,(y/r^2-x)^0.5)*besselj(1,(y-x)^0.5))-((y-2*x)^2*besselj(0,(y/r^2-x)^0.5)*besselj(1,(y-x)^0.5))-(4*x*(y/r^2-x)^0.5*(y-x)^0.5*besselj(1,(y/r^2-x)^0.5)*besselj(0,(y-x)^0.5)))=0','y');

 

Hi all,

first of all I have to say that I'm newbie with Maple.

I tried soluting a 9 non linear equations system reading http://www.mapleprimes.com/forum/solving-a-set-of-linear-and-non-linear-equations but there's nothing to do: with solve or with a Groebner basis Maple looks for a solution for hours and then ends the memory available..

Is the system too much difficult? Can I calculate a solution? (My problem is a pole placement problem)

Thank you very much,

Riccardo

Hallo!

The Secure Hash Algorithm SHA-1 is based on the Federal Information Processing Standards Publication: http://csrc.nist.gov/publications/fips/fips180-3/fips180-3_final.pdf

Is there a procedure, function, maple worksheet, etc. availabe to calculate the SHA-1 with maple?

Thank you!

Johann

question1:When I Input a complex expression,the superscript is sometimes acceptable

I copy a good-form letter with superscript to the destination box,but the superscript is too high,a little far away the letter,and in the whole expression,they're not the same form!

How to solve it?

First 1877 1878 1879 1880 1881 1882 1883 Last Page 1879 of 2197