Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi I am trying to create a bit of code that fits data points to a curve

right now I have

with(statistics):
NonlinearFit((   (A/2)/((B-r)^2+(A/2)^2)+C1+C2*r+C3*r^2),WEE,dde,r);

where WEE and dde are vectors containing the X and Y values respectively.

I was wondering if there was any way to set a range of values that the parameters can lie between

for instance 
0<A<1
and  -3<B<3

I was wondering how to build that into the code

Hi everybody, I would like to plot a function, e.g. f=f( x(t) ), versus t. i.e. f=f(x) and x=x(t). Please let me know how I can do it. Thank you, Hamidreza,

 

for which function f(x) the expression is minumum

(diff(f(x), x, x, x, x))*(diff(f(x), x, x))-(1/2)*(diff(f(x), x, x, x))^3

Using Maple 12 I have the following behaviour, which I find odd:


1. 'evalb' is correct, 'is' turns out to be false (by example):

  eq:=1/2*I*(-z+ln(exp(z)))/Pi = -1/2*I*(z+ln(exp(-z)))/Pi;

  evalb(eq);
                                false
  is(eq);

I want to write  K^(p-1)*L^(-p+1)   as   (K/L)^(p-1)  .

How can this be done with maple command without simply typing it ?
 

Hi,
if you google for Mandelbulb or look at this link:

http://www.skytopia.com/project/fractal/2mandelbulb.html

you find some nice render pics. To program this in Maple, the complex number z in the "usual" mandelbrot iteration z->z^2+c needs to be replaced by... a vector from R^3 ? Or do i need quaternions ? A source for an algorithm would be welcome.  

Hi, I need to generate 100,000 numbers randomly (bounded by 0 and  t) and plot the distribution of the distance of two subsequent numbers. I tried it with a large array:

 

 

 

Is there any function that does this?

 

A:=<1,2,3,2,4,1,6,3,2,0,0>;

output: <0,1,2,3,4,6>

Hello there

How to solve a system of linear equations with variables that have discrete values?

Example:

a+b+c=1

a+d+e=2

b+d+f=2

c+e+f=1

suach that a=0 or 1, b, c, d, e, and f also can have only 0 or 1 as their possible values.

I tried, unsuccessfully OrProp (may be the syntax is wrong)

 

Any idea?

Thank you

Vick

 

 

 

Hello,

I need to program a procedure to get the elements of a vector and sum it but as symbols. e.g.

V:=<1,2,3>;
conv2symbol (V):

output should be:                  =1+2+3

I want to restore this as a text/symbol to use it on a plotting procedure.

How can I do this?

TIA and happy holidays

Hello,

I would like to use the ResponsePlot function from the DynamicalSystems package, but it doesn't work for me (it gives an error message see below):

restart;with(DynamicSystems);
tr:=1/(1+1.000000000*s/Pi);
sys1 := NewSystem(TransferFunction(tr));
PrintSystem(sys1);
MagnitudePlot(sys1);
vin := Sine(1, 2);
Tsim := 10;
ResponsePlot(sys1,vin,duration=Tsim,color=[red, blue],thickness=2);
 

I do an order as follows,

> restart;

Hi merry xmas and a happy new every1.

I am trying to code the cocktail sort algorithm into maple but having some difficulties.

i coded bubble sort but cnt seem to code the cocktail sort any help would be appricited.

 

restart:
l:=[5,4,3,2,1]:
for j from 1 to nops(l)-1 do:
for i from 1 to nops(l)-1 do:
if l[i] > l[i+1] then
d:=l[i]:
l[i]:=l[i+1]:
l[i+1]:=d:
fi:od:od:
print(l);
 

Dear everyone,

I would be vey glad if you could help me in this.

It seems a picture inserted or plot command generated is not movable in a document ?

If I shrink the picture,that will be in the center of the page,but this is not good when I should print the document.

can't be dragged to anywhere?

 

First 1863 1864 1865 1866 1867 1868 1869 Last Page 1865 of 2224