MaplePrimes Questions

I am looking for the following: given Chebychev polynomials T up
to degree n I want to express them as Legendre polynomials P.

For example one can use OrthogonalSeries[ChangeBasis] for given n.

My question is: can one give/describe/generate/... the transform
matrix for the bases directly?

The intended use is for n <= 512 (or considerably smaller), the
special case T ---> P would be enough for me.

Certainly this is classical, but I can not find it out (or looking
it up).

For structural engineering problems, when I multiply a force (N) by a distance I generally want the answer in (Nmm) or (kNm) or units of that form.  Yet Maple simplifies the result to Joules, which doesn't mean a whole lot to me when I'm trying to find stresses and strains in structural members.

My question is, how can I define my own set of units that I'm comfortable with instead of having to accept the default Maple units?  I'm not having a lot of success customising units with Maple.

write a maple function which takes a 2xN matrix and plots the points given by its columns on a 2D graph?

Hey altogether,

how can I solve the following problem:

for i from 1 to n do f_i := x -> i; od;

In this case f_1(x) should return 1, f_2(x) should return 2, and so on? The code above is not working because the right-hand side is not evaluated. Even trying eval/unapply/.. didn't help.

Thanks for your response,
Stefan

Good morning,

I have the following question. I write the following command

t1 := taylor( sin(x), x=0, 6);

How may I plot "t1" excluding  the term O(x^6)?

plot( t1, x=-3..3) does not work -probably- because O(x^6).

Thanks in advance,

JJ

I need to plot the probability distribution function

f(x) = n!/(x!*(n-x)!*(2^(n))).

Can I just plot this as any other function using the various plot commands, or is there some statistics package option specially made for this?

Also can this distribution help me answer the question of obtaining the probability that the fraction of heads for 10, and 100 total coin tosses will be between 0.445 and 0.555?

 

 

Hi, I'm very,very new to maple, project due on monday so help needed urgently please! I have an array (as a result of dsolve) of the form below (obviously a lot longer) [a=0.001, b=123, c=345, d=565] [a=0.002, b=124, c=345, d=567] [a=0.003, b=125, c=456, d=765] I need to plot the first and third columns against each other so I used the op function to extract these columns arr := Array[1 .. 100]; for i to 100 do arr[i] := [op(1, ans(i)), op(3, ans(i))] end do However, this gives me [a=0.001, c=345] [a=0.002, c=345] [a=0.003, c=456]

Hello All,

This is my first post, and I want to thank you for helping guys like me.

I am working on a project, but I've gotten to a point, where I need help :(

Actually, it is 2 points...

  • I am using Maple 12 (document mode), and I'm trying to get the following graph drawn:

mm:=(101/100)*ln(10)-ln(S(t))+10-S(t) = 5*t

plot2:=implicitplot(mm, t = 0 .. 10, S = 0 .. 10)

display(plot2)

How do I define a Function of functions with maple?

For example:

F(y(x),y´(x))=y(x)*y´(x).

or

F(u(x),v(x))=sin(u(x)v(x)).

 

Thanks,

Sebastián Varas K.

 

 

I have a curve which has two peaks and I need to find the width of each peak at half the height of peak's value.

What do I need to do to find the widths?

I checked the forums and only this suggestion didn't give an error message, but the results is not helping me out much.

max(flatten(Img_pigeon_HWT));

 

results in

flatten(Vector(4, {(1) = ` 1..512 x 1..768 `*Array, (2) = `Data Type: `*float[8], (3) = `Storage: `*rectangular, (4) = `Order: `*C_order}))

 

The purpose of all this is to do some edge detection upon an image.

 

I'm trying to solve a diffusion PDE with initial conditions, but can't seem to get the syntax right? Here's what I have: pde:= diff(C(r, t), t) = Di*(diff(r^2*(diff(C(r, t), r)), r))/r^2-lambda*C(r, t)+Beta Initial conditions (which I'm not sure how to define) C(r,0)=0 C(0,t)=finite C(a,t)=0 r=0 to a t>0 I can use pdsolve(pde,build) to get a reasonable solution, but when I try: pdsolve(eq, C(a, t) = 0, build) I get: Error, (in pdsolve/info) wrong extra arguments: {C(a, t) = 0}

By Maple

convert(LegendreQ(1,x),hypergeom)

hypergeom([1, 3/2], [5/2], 1/x^2)/(3*x^2)

LegendreQ(1,0.)

-1.000000000-3.141592654*10^(-15)*I

The 2F1 form suggests for me that in x=0 LegendreQ is infinite or at least undetermined. So what is the truth?

I work with LegendreQ(1,x) where x is real.

Thanks,

                      Sandor

 

Hi all,

I am doing some research where I solve three differential equations simultaneously.. The results are three optimal time paths, W(t), R(t), and H(t). I want to plug these three into an integral, and solve (to get the net present value of my initial problem). I have no problem solving the diff. equations and getting values, given initial conditions. I am getting an error in the integration. I know I am missing something in the way I set it up. Anyways, I am putting my steps here below. Thanks for taking a look!

Boy, this program sure makes me feel like an idiot.  (I am a full professor at a top university, but maple has turned me into an idiot.)

so, here's my stupid question now:

(for those of you who do statistics, this is the principal stratification problem in causal inference.  Eventually, I'll replace equations 9-11 with other conditions.

I hope to show my class this.)

First 2175 2176 2177 2178 2179 2180 2181 Last Page 2177 of 2429