MaplePrimes Questions

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

I have Maple 13.02 on an Acer Aspire 5532 (64 bit) and there are some severe problems with plotting curves using spacecurve, DEplot, or any plotting method that plots curves. When the option is set for anti-aliasing, I get curves like this: and when anti-aliasing is turned off, the curves look like this:

Under what if any conditions is it permissible to take the limit through/under the integral sign? For example the following maple commands

> assume(t > 0)

> limit(int(f(t)*exp(s*t),t = 0..infinity),s = infinity)

0

seems to imply that this really is a permssible operation.

 

 

 

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;

Is it some kind of a malware or an advertisement virus of some sort?

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);
 

First 2058 2059 2060 2061 2062 2063 2064 Last Page 2060 of 2434