MaplePrimes Questions

I wrote a procedure shrinkTime:=proc(n::posint); The procedure only works with a positive integers and I need to plot this function. However, whenever I goto plot it; plot(shrinkTime(n)); I get this error: " Error, invalid input: shrinkTime expects its 1st argument, n, to be of type posint, but received posint" How can I specifically instruct maple to only plot at points where x is a positive integer?

My question is concerning finding Px(k) for a problem. There is a basketball player who takes two foul shots. The P of making the first is 2/3. Then assuming she missed the first, the P of making the second is 3/4, but if she makes the first, P of making the second shot is 1/2. X is the number of shots made. I have to find Px(k) for k=0,1,2, and then E(X). My first concern and real problem is that I'm not sure how to find Px(k) for one shot made since the probabilities for making one shot have two possible answers.

How do i get 20th iteration for following fixed pt problem

x = exp(-x/2)

Please help.

How do i get 20th iteration for following fixed pt problem

x = exp(-x/2)

Please help.

How to find 20th iteration for following fixed point problem.

x = exp(-x/2)

Please help.

with(Statistics):

X := ["A"=2,"B"=3,"C"=5,"D"=6];

BarChart(X);

 

This works just fine, but if I try to execute

 

ColumnGraph(X);

 

I get plotting error, non-numeric vertex definition.  These two functions are in the same help file, so why aren't they accepting the same syntax?

Occassionally when I simplify maple puts a negative sign out front.  How do I get maple to put it back in the equation?

Something like (3+4i)/(-3+7i)  When I simplify maple shows   -  (3+4i) / (-7i+3) 

I'm really not sure why maple would factor out a (-1).   In any case how do I reverse it?

hi

i am doing a multiple integal integration from one of my tutorial sheet

 

Given D is the triangular region whose vertices are (0, 0), (Pi,0), (Pi,Pi), find

Int(Int(x*cos(x+y),x),y);

 

then I worked out something like

 

Hi,

I'm trying to obtain data points in an array or list form

from the plot I've drawn from implicit plot function.

Can anyone help  me?

Your help will be greatly appreciated.

-Alsune

Hello everyone,

There is a problem that I cannot solve (I just learnt Maple's language one day ago and I'm not a programmer):

I wrote a procedure which asks the user to enter any number of (x,y)  pairs and then calculate some polynomials between x_i and x_(i+1) for  i=1..nargs/2-1.

Then I want to combine these pieces of polynomials as a  piecewise defined function. Can anyone tell me how I can do it? In 

hi,

 

i ve to animate a function with maple. but my animation "vanishes" after some time so i wonder what i did wrong

my function f (x,y,t) = sin(sqrt(x^2+y^2-t))/sqrt(x^2+y^2-1)

this is how i tried it:

f := (x,y,t)->(sin(sqrt(x^2+y^2-t))/(sqrt(x^2+y^2+1)));
plots:-animate(plot3d, [f(x,y,t), x=-10..10,y=-10..10], t=-100..190);
 

if you let the animation run the animation starts to vanish, what am i doing wrong

Is there a way for maple to display an answer with a set order?  or set it so it always does it a certain way.

As an example, lets take eq1:=a=(v-vo)/t then solve(eq1,{v});  (I put the v in {} so the answer will display the full equation).  Without the {} it only displays the answer.  Anyways, the answer returned is {v=a*t+vo

I would like to manipulate it so that maple will always display an equation with a single variable first.  So, for in our example I would like it shown as  v=vo+a*t

Hello everyone,

There is a problem that I cannot solve (I just learnt Maple's language one day ago and I'm not a programmer):

Hello,

0^0;

1

0^x;

0

Anyway to tell maple not to reply 0 if x value is unknown ?

Ty

 

First 2241 2242 2243 2244 2245 2246 2247 Last Page 2243 of 2429