MaplePrimes Questions

 

for what value(s) of m the function is increasing (Xderivative > 0)/decreasing (Xderivative < 0):

 

m * log(x) / 2^m + (1-x^m) / (1+x)^m

Hi,

I got some Matrix problems to ask:

First,

A:=Matrix(3,4,[[1,2,3],[4,5,6]]);

it will fill with '0's

A:=Matrix(3,4,[[1,2,3],[4,5,6]],fill=8);

it will fill with '8's

B:=Matrix(3,4,[1,2,3,4,5,6]);

it will fill with '0's

B:=Matrix(3,4,[1,2,3,4,5,6],fill=8);

it does not fill

what's the proper way to do it?

Second,

A:=Matrix(3,4,[1,2,3,4,5,6]);

convert(A,listlist);

[[1, 2, 3, 4], [5, 6, 0, 0], [0, 0, 0, 0]]

 

what if I want to have ONE single list as

I have Maple 12, and not MapleSim.  Has anyone stumbled across something that "runs on top" of Maple that is similar to COMSOL Multiphysics that runs on top of MATLab?  I'd like to figure out (without writing the Maple code myself...) how to import some simple 3D geometries and run some (possibly symbolic, probably numeric) simulations of electromagnetic and heat flow phenomena.  COMSOL uses FEM.  Is this something MapleSim could do?  I don't need anything that'll do "real world" geometries (i.e.

BIFURCATION DIAGRAM PROCEDURE
restart:
with(plots):
*xexpr is the logistic function to be iterated (we always start off at x=1/2, which will eventually attract).
*[ra,rb] is the range of the parameter.
*acc is the number of points sampled in [ra,rb]
Bifurcation := proc(initialpoint,xexpr,ra,rb,acc)
   local p1,hr,A,L1,i,j,phi:
   global r,L2:
   hr := unapply(xexpr,x);
   A := Vector(600):
   L1 := Vector(acc*500):

Hi,

I am trying to generate a non-singular Matrix.

 

> KeyMatrix:=Mod(127,RandomMatrix(n),integer);
> if Determinant(127,KeyMatrix)=0 then
> Return(KeyMatrix);
> fi;

Basically, it asks Maple to return to
KeyMatrix:=Mod(127,RandomMatrix(n),integer);
again if the current one if not invertible.

 

however, i have confused myself with RETURN and return

which is should i use?

thanks

casper
 

 

What is the pattern in the following polynom: (how to generate them) 

1:     12 n^2 + 12 n + 1

2:    300 n^3 + 450 n^2 + 160 n + 5

3:   840 n^4+1680 n^3+1030 n^2+190 n+3

4:  1260 n^5+3150 n^4+2730 n^3+945 n^2+107 n+1

5:  27720 n^6+83160 n^5+93030 n^4+47460 n^3+10689 n^2+819 n+5

I have an expression like; 0.7x + 5e-10y, which I would like to approximate to 0.7x.

Round won't work as it will also round the 0.7 down to zero.  I have tried using he Digits command, but it seems to only work half of the time.

Is there a simple command that can put a ceiling on a number like e-5, so that any number lower than that will not be returned?

Cheers;

Robert Ward

 

Hi all, This is probably a simple command, but I cannot figure it out. I am using the following to spit out some results from a system of ODEs, but I can't figure out how to label the individual columns t, H, W R, etc. Any suggestions? Thanks! > file := "/Desktop/Aquifer results2/comp60.txt"; try fd := fopen(file, 'WRITE', 'TEXT'); for tt from 0 to 945 do fprintf(fd, "%a %a %a %a %a %a\n", (eval([t, H(t), Weq, Req, price, total], sol2a(tt)))[]) end do finally close(file) end try; %; >

Curious as to why the whole line, during an animatecurve plot, "wiggles" as it's being animated. 

A simple example

plots[animatecurve](sin(x),x=-Pi..Pi,frames=100);

Why is that?

Hi

 

I want to make an overloaded function with two possible behaviours.

If the function is called with a list as parameter it shoud make something; if it's called with TWO lists as parameters, it shoud make another thing.

I tried first something like:

 

 

Hi all,

I was just wondering about a smart way to diff a vectorfunction.  Lets say i want to diff this vector:

v:=<5*t+1, (1/2*(-10))*t^2+50>

When i try to diff v it says:

"Error, non-algebraic expressions cannot be differentiated"

I know it's possible do do by:

<diff(v[1],t),diff(v[2],t)>

But is there a better way?

/Simon Johansen
 

Dear all,

my Maple sheet is structured in sections. So far, I could not find (Maple Help, Google, Mapleprimes) an easy way of commenting out (i. e. disabling or deacitvating) a section or subsection. Any hints how to do that? (Similar to C++ with its /* ... */ or many (LaTeX) editors with the "Insert comment" function.) Writing a # manually in front of each command is not regarded as "easy".

Cheers,

Ben

1:  6n + 5

2:  150 n^2 + 200 n + 55

3:  420 n^33 + 770 n^2 + 410 n + 57

4:  630 n^4+1470 n^3+1155 n^2+343 n+29

5: 13860 n^5 + 39270 n^4 + 40740 n^3 + 18711 n^2 + 3591 n+205

int(exp(1/((x-a)*(x-b))), x = a .. b)

complexplot examples in the help is limited.

this is a example

abs(z-a)-abs(z+a)=2c

c is a fixed,

a is a real number

a is a complex number

plot the locus.

First 2086 2087 2088 2089 2090 2091 2092 Last Page 2088 of 2434