Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I can calculate the probability of observing 5 heads after a 10 coin toss as:


n := 10:  p :=0.5 :  x := 5 :

ProbabilityFunction(Binomial(n, p), x);

                                0.2460937500


Now my question is how can I generalize this argument over time and with an Normal(0,1) process.

hi.

can i have a densityplot in 3d?

i want to plot a sphere.

i have a function f(r, theta) which is supposed to be the temperature of my sphere. can i plot my function f such that it is like a densityplot on my sphere? i cant seem to find the right command for this.

thanks!

I'm trying to write a program (see code below) that produces a circle with a sector identified by two radii and a small arc connecting the radii (to emphasize the angle, which I will later add a "theta" label to). The sector needs to be shaded, and I prefer not to have any axes showing; I think I can do some of this by right-clicking on the figure after it is rendered by Maple, but it seems to me that the code should be able to handle all of this as well. I will be using the resulting figure in a homework set that I am producing for a trigonometry class.

Could there be a useful performance gain if Maple were changed so that %, %%, and %%% did not function inside a procedure (proc) body?

Should one ever use % in a procedure? Would using it just be obfuscation where none is needed, or could it serve a special purpose?

While on this topic, how good or bad would it be to use a Standard GUI equation label inside the body of a proc that was entered in 2D Math?

acer

This should be a very basic question. Is there any explicit function or syntax of the commands that we can add a number to all elements of a vector or a matrix? I know with map we can do that but I doubt it is the proper one.

hi.

i have this function f(r,theta) which i want to graph in polar/cylindrical coordinates. but when i try to plot it, the coordinate system seems to be in cartesian because my horizontal axis becomes my values for r and vertical axis becomes my values for theta.

How can i plot my function f(r,theta) in polar/cylindrical coordinate such that r=0..1, and theta=0..2*Pi?

Hi, it seems I have an unusual situation and I have been unable to find a way to solve it. Hopefully someone can help. I have an overdetermined system; 14 equations, 4 unknowns. The unknowns are restricted to particular ranges (roughly 0 to 500).

Hi there,

ich want to create a Maple-package -- say Foo -- using Maple12 by using 'module()'.

This works OK for me and I can load it with

"with(Foo);"

Then a list of the (exportet) functions appears.

 

What code do I have to enter in order to display also a predefined message, ie. via printf? For example

"with(Foo)" ---> "You are proud user of the Foo-package!"

?

Hi, I have a set of plots which is determined at each step of a for loop of my subroutine. But display function does not work when I put it inside the loop. Please tell me what I need to do to make it work. Thank you,

I'm having a lot of problems figuring out how to use Maple. I've watched all of the tutorial videos but they arent much help and there are no step by step directions, or templates, that show you how to solve the problems for my Linear algebra class. Here is the problem:

2x-3y+4z =-12

x-2y+z=-5

3x+y+2z=1

Could someone please quicky walk me through the steps needed to solve this problem? Thanks a lot.

Hi there, I got a set of discrete Data as functions of 4 variables (x1,x2,x3,x4) . I would like to interpolate the data and then get a continuous function f in terms of (x1,x2,x3,x4). Finally I would like to get the partial derivative of f wrt x2. How can I sort out this? x0:= 1/2: s:=x->x^2: sol:=(x2,x3,x4)->dsolve({y''(x1)-(x3^2+s(x1)*x4^2)*y(x1)=0,y(x2)=exp(-x2),y'(x2)=1/2},numeric,output=operator,range=0..x0): g:=(x1,x2,x3,x4)->eval(y(x1),sol(x2,x3,x4)): g(x0/3,x0/3,10,1); dx2:=1/1000: Data:=(x1,x2,x3,x4)->[seq([x2+i*dx2,g(x1,x2+i*dx2,x3,x4)],i=-3..3)]: ???

Hello, Can you set Maple to use degrees instead of radians instead of converting all the time? I have tried to search for it, but I did not understand those methods that were written. Greetings, Jonas

Good Morning Everyone,

Would anybody help me in the following if statement. What I would like is to compare the value of Az with the allowable, if it is less than allowable, I would like to print "O.K" , if not I would like toprint "N.G". In Maple I'm getting an error message, invalid terms in product. Please Help.

if (Az < 0.25*mm) then print "O.K" else print "N.G" end if;

 

Hello there, I can plot a set of data into a boxplot, but I am unable to plot a boxplot directly from a set of descriptors including quartiles, minimum and maximum. Say I have these data: 3, 12, 13, 16, 20 - 3 being the minimum, 20 the max, and 12,13,16 are my quartiles (lower, median, and upper). Is there a way to plot these into a boxplot? a) Make a box plot of the results for each of the two classes and describe the difference between the two classes of performance test. Loading Statistics with(stats);
First 1893 1894 1895 1896 1897 1898 1899 Last Page 1895 of 2219