Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
I constantly need to run a part of my code. I define that part as a proc. But each time, I need to check all the variables appears inside the proc are declared as global, otherwise the output will be ruined. I figured if I can set the implicitly declared type in a proc as global then things will become simple.

Hi,

I am designing an antenna based on Peano-Gosper fractal. I have limited math skills and the most difficult part for me is deriving the generator for this fractal that takes two points (beginning and end) of initiator and generate 8 points PG curve consisting of 7 segments. Could you please suggest where I can find such generator written in Maple?

Thank you very much Vadim

hi there ! i wrote this in maple: for i from 0.86 by 0.01 to 2 do print(fsolve({x1+x2 = i, -3*x1+4*x1^3-3*x2+4*x2^3 = 0}, {x1 = 0 .. 1, x2 = 0 .. 1})) end do it computes the values of x1 and x2 and print them . but i want to store these values and the corresponding value of i in two separate arrays i.e. one array having values of x1 and corresponding i ; and the other array having values of x2 and corresponding i. and at last i want to plot the points in both arrays on the same graph so that i have a curve for x1 and x2 both on the same plot having i on its x-axis.

Dear all,

 

I am having some problems with the coeff() function in Maple13. I first defined a function "functie3";

> functie3;

 

When i try to obtain the coefficiënts from t2, t2^2, t2^3, t2^4 and the constants i always get the following error:

> coeff(functie3, t2, 2);

Error, unable to compute coeff

 

Could somebody help me out with this? Any help is greatly appreciated!!

 

Best Regards,

Sandro Iacovella




 

I try to find a way to tell maple to use a specific value (e.g. zero), if the function is not real i.e. not defined, or complex etc.

Actually I want to find out, where a specific function is not defined, or has no real value. Is that possible with Maple?
Anyway, if there is no way to find out, where a specific function has no real value, I want to apply a specific real value to any value of the function, which is not real.

For example I tried the following:

Hello! I have a problem - i can't find standart Maple functions and procedures, that plot, so to speak, "phase portrait"-esque magnetic field lines for featured "vector field". In details: i need to plot magnetic field lines and equipotential curves of uniformly magnetized cylinder. I have piecewise functions Hr(r,z) and Hz(r,z), (per se, r is x, z is y, y-axis coincides with cylinder axis): L := 2; a := .5

Hi,

I read data into Maple, and based upon that, wish to dynamically construct a piecewise function. In advance, it is unknown how many entries the piecewise will have or where the breakpoints are.

How can I work dynamically/programmatically with piecewise functions? Is there some documentation or concept I should know about so I can help myself on this? The only possibility I've found thus far is using the sscanf function, which makes it a little more complicated than necessary.

Hey i am trying to get maple to do some differential equation solving and i am running into some major road blocks.

the code i am using is as follows:

restart;

M[Star] := 2*10^30;

M[planet] := 2*10^27;

q := M[planet]/M[Star];

g := sqrt((R-a)^2);

H := 0.333e-1*R;

Delta[p] := H;

Hi there,

I'm trying to solve a set of simultaneous equations using the solve function, but it doesn't seem to want to give me a straight answer (and sometimes no answer at all).

The bloggers at Maplesoft.com have been busy recently, and we've seen the addition of some great new posts.  Here are some links if you're interested.

hello

please i want to solve these equations

Black Scholes equation

Smax:=150:
> S:=50:
> X:=50:
> T:=1:
> M:=4:
> N:=2:
> k:=T/N:
> h:=Smax/M:
> SIG:=0.3:
> r:=0.1:

 

Hello everybody

I'm new in maple and i have a problem with the command 'collect':

i have a complicated expression with sinus and cosinus and many variables. the problem is that maple does not collect all the coefficients of a variable together.

how can I solve this problem?

I want also to collect the coefficients of each variable together in a function or a variable.

how can I do this? (I'm using Maple13)

Thanks

 

I am trying to fit  this function with some data
F:= M*(  (1 -  ( 1 - a)*e^(-k*q*t)) /q)^(1/(1-q)) ;
where a:= (No/M)^(1-q). I need to know the values
of k, q and M, I do have No (initial condition)
 

DATA:=
[[13.2621 ,  0.0012],
[14.0740 ,  0.0017],
[15.4272 ,  0.0031],
[16.7803 ,  0.0063],
[18.1335 ,  0.0174],
[19.2161 ,  0.0317],
[20.5692 ,  0.0598],
[21.6518 ,  0.0821],
[23.0049 ,  0.1501],

 

i have no idea where to start

 

 

 

g defined by

 

g(x) = x+4 / (2x+9)ln(x^2-15)

Find the equations of all vertical asymptotes (if any), of the function

Hi,

I wanted to use some non-orthogonal curve linear coordinates. I have entered them into maple by:

 

with(VectorCalculus):
assume(r>0,theta<=0,theta<Pi,0<=phi,phi<2*Pi);
AddCoordinates( 'myCoords1'[r,theta,phi], [(L+r*cos(theta)+Delta(r))*cos(phi),(L+r*cos(theta)+Delta(r))*sin(phi),r*sin(theta)] );
 

However this gives the warning:

Warning, the unit Vectors in the new coordinate system are not orthogonal, only added to global coordinate systems

 

First 1857 1858 1859 1860 1861 1862 1863 Last Page 1859 of 2252