# MaplePrimes Questions

Search Questions:

## Latest Questions Latest Questions Feed

### How do I extract the value of variables in a solve...

August 24 2010
0 2

Hello all,

I have a nonlinear model y=f(x,y,z,p) that I'd like to solve for various value of p (parameter), where f is a system of equations. This model is constrained by a set of inequalities c(x,y,z,p) <= 0.

I coded the model up in Maple in the following format:

f1 := ...;
f2:=....;
f3:=...;
f4:=...;
c1:= x>=0;
c2:= ....;
etc.

To solve this, I type:

### how can i use root value of equation about fsolve ...

August 24 2010
0 2

i got a set of roots of nonlinear equation by fslove method.e.g.

y1:=a^4+b-3=0;

y2:=a^3+b^2+2=0;

fsolve({y1, y2})

⇒{a = -1.402752934, b = -.8719054433}

i got roots value of the equation,but i want to continue to use direcly the float values of 'a' and 'b' in my program,but i couldnt ues them by some methods since 'a' and 'b' didnt seem to be assigned.so i had to write the values in a text file,then...

### maple produces blank pdfs from exported latex work...

August 23 2010
0 8

I have a maple worksheet with 2d input:

> for i to 10 do f := proc (x) options operator, arrow; x^2 end proc; f(x) end do;

of course it looks "pretty" in the actual worksheet.

When I export this to Latex I get the standard stuff and this:

\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{2d}{for i to 10 do f := proc (x) options operator, arrow; x^2 end proc; f(x) end do; -1}{}

### maple unable to draw some parabolas and hyperbolas...

August 23 2010
0 2

I ' m trying to plot this parabolas and hyperbollas and all I am getting is like a triangle and a couple of crossed lines. (with or without scaling=constraint)

with(plots):

polarplot(4/(1+1.1*sin(x))):

polarplot(2/(1-sin(x)),x);

polarplot(2*1.5/(1-1.5*cos(x)),x);

Is it another problem with Maple?

Thanks.

### help in this problem...

August 23 2010
0 5

Hi,

i have system of two equastion with two vairable (x,y) and paramater ( b1,...,b4, a,...,a4 ) as follow,

q:=b4*(y^3)+b1*x*(y^2)+b2*(x^2)*(y)+b3*(x^3);

q1:=a*y+a1*x+a2*x*y+a3*(x^2)+a4*(y^2);

solve({q,q1},{x,y}):

maple doesnot  give any result except o,o solution

can you help me to solve this problem ?

is there any package that able to find the solution reither than numerical method?

August 23 2010
0 1

Hi,

I used maple help to solve my problem but for this one I could not.

I have equation system with 4 equations and variables are for example x y z w .

The problem is I  have  xy  x^2  x^3  yw   in my equations so maple with solve could not solve that.

On the other hand,the equation are parametric and non numeric I mean the answer...

### how can I make data from String type to Float type...

August 23 2010
1 4

I get a data of string type from .txt file,but i want to use the data from string type to float tpye in my program,In fact ,i had tried in many methods,convert,sscanf,type etc.but, i coundnt solve this problem until now.if u know,please tell me how can i do.

example:

x:="0.01"⇒x=0.01

### How to extract a factor from an expression?...

August 23 2010
1 3

Assuming I have an expression, 'F', I would like to extract from it a factor, 'a', so the expression is displayed as

a*(F/a)

where F/a is a simplified (or expanded or any other displayed form) expression.

As an example:

F:=1 + Q*x2 + P*x3

a:=x2 / L2

then this will be displayed

x2 / L2 * ( L2 / x2 + Q*L2 + P*L2*x)

### animate pointplot3d doesn't seem to work in Maple ...

August 22 2010
0 9

This doesn't seem to work in Maple 13 and 14.  However it works in Maple 12.
All I get is a static animation plot.

with(plots):
animate(pointplot3d,[[[1,2,3],[4,5,3],[2,2,2]],color=blue,orientation=[45,A]],A=45..315);

What am I doing wrong?

### How do I solve equation system +nonlinear var...

August 22 2010
0 8

Hi

I started my university project 5 months ago and working with maple from that time.

I used maple help to solve my problem but for this one I could not.

I have equation system with 4 equations and variables are for example x y z w .

The problem is I  have  xy  x^2  x^3  yw   in my equations so maple with solve could not solve that.

On the other hand,the equation are parametric and non numeric...

### How to express f(z) as f(z^-1)?...

August 22 2010
0 3

Hi, can someone tell me how to approach converting an expression is z to one in powers of z^-1?

For example, express f(z) = z/(z-1) as 1/(1-z^-1) ?

Thanks

### why is the code-edit region still "leaking" in Map...

August 22 2010
0 2

I have a inserted code-edit region in Maple-14.
The first line says restart: and then I have some data.

When I collapse the code edit region is says restart: beside the icon.
I dont understand why Maplesoft has not fixed such a "leak" ?

For me such small things are highly important because when you
use maple on a daily basis such small inconsistencies will give grow you a cancer.

Another thing, why cant I programmaticaly load a matrix with data into a code

### When will the size of the arrows for expand docks ...

August 22 2010
0 0

includes Greek, Components etc. Then I selected components
and droped it on the righ-hand side of the screen, which gave me
a dock on the right-hand-side of the screen.

Now the problem is when you want to remove such a right-hand side dock.
The arrows are extremely small which means that it is extremly difficult to
see them yet alone click on them. Most of the time when you have your mouse on them

### Has the export to pdf function been improved in ma...

August 22 2010
2 2

I am wondering if the export to pdf function has been improved in maple 14?

When I used such a function in Maple 13 the result was extremly ugly ie the
pdf did not show up as it looked on the screen ie in Maple. Some tables were
split on new rows, some table text did not show up at all, table orphance, text orphance, etc etc.

I would actually prefer that such a function "export to pdf" is removed than having such a
flawed function included in Maple....

### list density plot bug - can anyone confirm?...

August 21 2010
0 4

There's a bug when using colorstyle=HUE.  Maple isn't displaying the proper number color values.

restart;
with(plots):

a:=Matrix(1..4,1..4,rand(1..4)):

listdensityplot(a)

listdensityplot(a,colorstyle=HUE)

The colorstyle=HUE only shows 3 colors (value 1 = value 4) but it seems ok in the greyscale plot (4 different values, 4 different shades).  Seems to me like the HUE scale is n-1 number of values short.

Looks like a bug?

 First 766 767 768 769 770 771 772 Last Page 768 of 1234
﻿