MaplePrimes Questions

Hi!

I want to set up a question where students first should do some calculation (p-values actually). Next step would be to see if this value is an element of intervals given by me. It seems reasonable to attempt constructing a multiple choice question, but there could be alternatives. In the case of a MC, the alternatives could be like the following:

1. <0.005

2. 0.005-0.01

3. 0.01-0.02

4. 0.02-0.025

5. 0.025-0.05

6. 0.05-0.10

7. 0.10-0.15

8. >0.15

Hi there :) I often need to plot datapoints, and then fit a curve in then. So far i did this with the [i]ScatterPlot[/i] command, and moddeled the function to the data with the Fit or Nonlinearfit command. In most cases this worked really great, but i would need some extras: ;) As far as i have noticed the Fit is only based on the datappoints. The Fitfunction doesn't seem to take care of x- or y-errors, drawed in with the data. So: Is there a way to take care of the x- and y-errors in the Fitting process? If yes, how?

When I right-click on a 387x387 Matrix my pointer turns into a processing indicator and the system sits endlessly.  Other than killing the maple server process is there a way I can instruct Maple to cancel processing and make it responsive again?

hi, I was wondering how I can plot a phasediagram for the Solow growth model which has k(dot) on the y-axis and k on the x-axis and that has arrows that point in the right direction above k(dot)=0 and arrows that point in the left direction below k(dot)=0 The code I use to plot k(dot) is: restart: y:=A*k^a: S:=s*y: BE:=(n+g+d)*k: k_dot:=S-BE; s:=0.7: A:=1: a:=0.3: n:=0.06: g:=0.04: d:=0.03: plot(k_dot,k=0..15,color=blue, labels=["k", "k_dot"]); works fine but I am missing the arrows....

Cheers!

You will find in the attach file work that I have done in this subject.  Everything works fine when the calculation is around x=0.  But if for example I want to do it near x=4, I don't come near the value that Maple give me.  But the plot loook OK.

Is it the definition of px and qx in the file that I don't define correctly?

By the way, if you know a simple application on that subject (simple), I will be glad to learn about it

Hi,

Is there something like

assume(a,'nonzero');

 

 

how could i tell maple that

a

is a nonzero constant?

 

Thanks

i got problem coz i dont understand nor know what command i need to type in maple, really need help,

Question:

Hi all

 

I have spend too much time trying to figure out why Maple won't solve this equation explicitly. Here is the code:

 

assume(0 <= s, 0 <= w, 0 <= t, 0 <= h):

diff(((w-s)^(1-t)-1)/(1-t)+(((1+r)*s)^(1-t)-1)/((1+h)*(1-t)), s);

solve(%, s)

 

It returns:

 

-(w-s)^(1-t)/(w-s)+1/(1+h)*((1+r)*s)^(1-t)/s

RootOf((w-_Z)^(1-t)*_Z+(w-_Z)^(1-t)*_Z*h-((1+r)*_Z)^(1-t)*w+((1+r)*_Z)^(1-t)*_Z)

 

Cheers!

Here is what I have done in Maple 11:

st:=taylor(sin(x),x=0,10):

sint:=convert(st,polynom)

sinr:=convert(taylor(sin(x),x=0,10,ratpoly))

plot([sin(x),sint,sinr],x=-6..6,-2..2,color=[red,navy,gold])

My question is how theoraticly do you convert a series into a rational polynom?

Mario

 

I'm trying to find the greatest common divisor of two functions with characteristic=7:

with(Algebraic):
GreatestCommonDivisor(x^4+x^3+4*x^2+4*x+5,x^3+x^2+5*x+5,'characteristic'=7);

This gives the answer as (x+4) which is a common divisor but it is not the greatest. From working by hand, I've found that (3x+5) is the gcd.

Why is maple giving the wrong answer?

I decided to repost this as the previous one went crazy.......

I'm trying to construct an iterative procedure NR1(f,x0,N) where f is a function, x0 is an initial estimate (which can be complex) and N the number of iterates.

Given:  xk+1=xk - f(xk)/f'(xk), k=0,1,2....,

Now for example by defining f:= x-> x^2-2 and inputting x0=1 and N=10 i should be able to check that my procedure calculates sqrt(2) correctly.

This is what i've got so far.....

hi, i am new to this and when i start up maple 11 i get the following error : "Java Virtual Machine Launcher,  Could not create the java virtual machine"

i hope there is a solution to this because i have searched everywhere and i cant get the solution.

error: http://img369.imageshack.us/my.php?image=problem1ek9.jpg

thanks

I'm trying to construct an iterative procedure NR1(f,x0,N) where f is a function, x0 is an initial estimate (which can be complex) and N the number of iterates.

Given:  xk+1=xk - f(xk)/f'(xk), k=0,1,2....,

Now for example by defining f:= x-> x^2-2 and inputting x0=1 and N=10 i should be able to check that my procedure calculates sqrt(2) correctly.

This is what i've got so far.....

Hi i'm trying to figure out how to write a procedure for creating a NxN matrix with conditions. The conditions for M[ij] are as follows:

a if j>i+1, c if i>j+1 and b otherwise.

So far this is what i've come up with but i've tied myself into a mental loop and cant seem to figure this out. I know it's really simple and that's what is frustrating me the most.

First 2247 2248 2249 2250 2251 2252 2253 Last Page 2249 of 2428