MaplePrimes Questions

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.

Let y1=exp(a*t), and y2=ln(y1)=a*t The error in y1 and y2 is found from sigma=sqrt(diff(y1,a)^2*siga^2) where siga is the uncertainty in a. Therefore, sigy1 = exp(a*t)*t*siga sigy2 = t*siga Therefore, y1 = y1 +/- y1*t*siga y2 = y2 +/- t*siga What I don't get, is as exp(y2)=y1 , then this gives me: y1 = y1 +/- exp(t*siga) What is the correct errror in y1? y1*t*siga or exp(t*siga) ??

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

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:

 

Never actually came across this yet. 

I'm using writedata and I'm getting an Error, in (fopen) permission denied.

How do I know where Maple is writing to?  I'm guessing a folder is read only somewhere.  Any ideas?

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

 

Hi everybody is there a built-in procedure that transforms a complex number in its exponential form: a+I*b -> sqrt(a+b) exp(I*arctan(b/a)) Tks S.
First 2021 2022 2023 2024 2025 2026 2027 Last Page 2023 of 2434