MaplePrimes Questions

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.

Hey, i am a undergraduate at uni and i have run in to a bit of a roadblock with Maple.

I am using the following code;

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

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

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

Delta[p]:=max(H,|R-a|);

Alpha(R,a):=piecewise(R<a, -(q^(2)*6.67*10^(-11)*M[Star])/(2*R)*(R/(Delta[p]))^(4) ,R>a,(q^(2)*6.67*10^(-11)*M[Star])/(2*R)*((a)/(Delta[p]))^(4) );

PDE1:=diff(S(R,t),t)=(3/(R))*(diff(R^(1/(2))*(diff( S(R,t)*R^(1/(2))-(2*Alpha(R,a)*S(R,t)^(3/(2)))/((6.67*10^(-11)*M[Star])^(1/(2))),R)),R));

Hi

Does anyone know how to export surface plot with multible surfaces to a file format that can be easily plotted using matlab?

Thanks in advance

Regards Brian

I am brand new to maple and im having a very hard time. My teacher gave us an assignment but he didnt teach us how to use maple.

 

Can someone please explain to me how i can find the horizontal asym. of sqrt(9*x2 - 4*x + 2)+ 3*x - 5?

 

and how would i find the x and y intercepts?

 

thanks a lot

 

 

 

 

Hi all, Being new to Maple, I have a rather trivial question for most out there. How does one plot x=ln(y) or any function x=g(y) to be more general? I have worked with implicitplot() as such, but it only feels like drawing a straight line for x=ln(y). Here is the syntax I used: > g := y -> ln(y) > with(plots) > implicitplot(g, x = -10 .. 10, y = -10 .. 10) Does maple expect the assignment of the full equation (i.e. g:= x = ln(y)) in order to process inverse or implicit functions? I'm obviously borking the syntax. I have searched through this forum and the help. Any information is thoroughly appreciated in advance. Phillip
First 2019 2020 2021 2022 2023 2024 2025 Last Page 2021 of 2431