MaplePrimes Questions

alright, heres my newest task that should be easy that has given me nothing but problems.... I have a function, sFunction, that takes in something between 0 and 15 (*only* integers) and spits out a single value. I would like to create a matrix of the output's bits. Since my numbers are 4 bit, that means it should be 4 wide and 16 high. To get the bits I'm planning on BitAnd-ing them with a power of 2 to isolate it. I keep getting "too many levels of recursion" errors on all my attempts.

Hi, all

   I got qeustion about how to 3D plot a function with different values of on parameter.

For example, a  function

y = 2x /(x-m)

m is parameter.

I want to plot the different function curve of y in 3D when m has different values as such m=1, m=5,m=10....

say, y1 = 2x/(x-1)

       y2 = 2x/(x-5)

     y3 = 2x/(x-10)

btw,  I know how to plot 3D,  but I just want to plot the function at several specific m values.

Hello, If you have an aperiodic function that attains a maximum at some later time say tau, what command in maple would allow you to find it? Mathematica, as far as I know, is only limited to specifying where you think the greatest maximum might be and the only alternative to automate this would only find the first maximum not the greatest maximum.

Well I had been using MapleTA for a long time now, and I'm really satisfied with the product itself and the e-Learning idea.

So i would like to use a MapleTA question in plain html, not in Blackboard neither in Moodle (that would be great at my college), but in plain html.

 

Imagine a web version of an Algebra book in wich it's shown how to invert matrix (something everyone must know when finish high school but nobody remembers in the first week of college), and at the botom there is a random problem when you can try to do it.

Any chance this is possible? I dont like having to 'browse' every time and my matrices arnt even that big. Thanks

Hi, i want to find the roots of a polynomial and replace pepetitive (long) expressions in it by using alias.

solve(x^3+2*x+1=0,x);

-1/6*(108+12*177^(1/2))^(1/3)+4/(108+12*177^(1/2))^(1/3), 1/12*(108+12*177^(1/2))^(1/3)-2/(108+12*177^(1/2))^(1/3)+1/2*I*3^(1/2)*(-1/6*(108+12*177^(1/2))^(1/3)-4/(108+12*177^(1/2))^(1/3)), 1/12*(108+12*177^(1/2))^(1/3)-2/(108+12*177^(1/2))^(1/3)-1/2*I*3^(1/2)*(-1/6*(108+12*177^(1/2))^(1/3)-4/(108+12*177^(1/2))^(1/3))

This looks nasty, so i want to replace (108+12*177^(1/2))^(1/3)

alias(alpha=(108+12*177^(1/2))^(1/3));

Hi,

I've written a simple LPSolve test program. But it seems to fail to give me the correct answer that satisfy the constraints. Here is the code:

with(Optimization):

cnsts := {x1 + x2 + x3 + x4 + x5 >= 1, x1+x2+x3+x11+x6 >= 1, x7+x9+x10+x4+x5 >=1, x7+x9+x10+x4+x5 >= 1, x7+x9+x10+x11+x6 >=1, x8 + x9 + x10+x4+x5 >=1, x8+x9+x10+x11+x6 >=1};

obj := x1+x2+x3+x4+x5+x6+x7+x8+x9+x10+x11;     

LPSolve(obj,cnsts,assume = {nonnegative});

 

Given a cubic, x^3 - c*x +16=0, I need to find values of c so that the real parts of the complex roots are negative.  Any suggestions?

Hi, This is my 1st try with Antiderivatiives using Maple 12 Student Edition. These statements work fine and the answers are the same as the book. int(15*x^4-cos(x)+5, x); int(8*x^3+Pi*cos(Pi*x), x); but the below doesn't work. Maple just repeats it with the Integral symbol before it and 'dx' after it. by hand the answer is 3x^(5/3)+x^(3/5)+C. int(5*(x^2)^(1/3)+3/(5*(x^2)^(1/5)), x); thanks

Hi. I have to create a procedure Approx with the procedure call Approx(f, a, b, N). I don't really understand how to write procedures so I'm confused.  The point of the procedure is to return the floating point value of the right Reimann sum SN  which approximates the area under the curve y = f(x) over the interval [a, b]. I don't know where to go from here. Here is what I have so far:

 

 

Hi,

I have difficulty in taking fourier transform of a function f(t).

The function f(t) is not integrable. Through analytical analysis, f(t)
behaves asymptotically the same as a*log(t)/t

for t-> +infinity; and f(t) behaves asymptotically the same as b*log(-
t)/t

for t-> -infinity; where "a" and "b" are some constants.

Is there a way to work around this difficulty and get some sort of
fourier transform of this function f(t), possibly

Hi Everybody,

 

Suppose I have this procedure assign to p:

>p:=MyProc(args1,args2,args3,h) statement end proc:

where h is the step size.

args1 = {ode,ic} , args2 = x(t) et args3 = t=a..b.  The output of MyProc is a list of list

I would like to do what dsolve do when you write:

p:=dsolve( {ode,ic},x(t),x(t),numeric)

and then evaluate p(2) for example.

Hello I'm trying to plot a piecewise function, only I think the plot I get is wrong. It looks like a linear function when it should be a bit more 'scattered' looking. It also goes past 900 when its max should be 63. Did I mess up the function? Plot arguements? Thanks > pLayer := proc (x) options operator, arrow; piecewise(1

Hello everyone,

I'm having a little trouble getting Maple to return a correct solution.  It's a simple equation, really, involving the relation of the period of an object around the sun and it's semi-major axis.  Specifically this involves Halleys comet.

Given that halleys comet takes 76 years to complete an orbit.

I set

restart;

eq1:=P^2=(4*Pi*a^3)/(G*M);

and convert P to seconds

P:=convert(76,units,year,second);

G:=6.672e-11;

M:=1.99e30;

solve(eq1,a);

I am using Maple 12.

I often try to simply expressions, but I found that very often I must manually guide the simplification procedure.  For example a result from inverse laplace trasformation is:

Ssi(t)+pi/2

But this, by definition, equals Si(t).

However, the function simplify doesn't work for such a purpose.  Also in many other cases the function 'simplify' don't work without human guide.

First 2216 2217 2218 2219 2220 2221 2222 Last Page 2218 of 2429