Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Ok, I want to solve the below code as fast and efficient as possible.
Since it is an LP problem LPSolve(Matrix Form) should be the best.

The problem is that the default objective function in LPSolve(Matrix Form)
is c'x which creates a bit of a problem since my objective function is not a
function of x. My objective function is simply ur + dr. How can I solve that?!

restart:
randomize():
with(Optimization):
with(Statistics):
with(LinearAlgebra):

hello, I am trying to call a matlab function from maple and get error msg.

I did instruction about set up matlab but it doesn't work.

I would highly appreciate if someone could help me out with this. Thanks Sina

Hello everyone. I am new to Maple. I am trying to simplify an expression in Maple. The expression is like:

u := a+b*x+a/x+b*x^7+c

If I use simplify(u) Maple returns the result as:

 (a*x+b*x^2+a+b*x^8+c*x)/x

If I want the result in the form:

u = a*(x+1)/x+b*x*(1+x^6)+c

or

u = a*(1+1/x)+b*x*(1+x^6)+c

 

How should I proceed? Is it possible to do this?

 

 

 

restart

u := proc (x, y) options operator, arrow; u[x](x)*(y/delta(x)-2*y^2/delta(x)^2+y^3/delta(x)^3+B*H*(1-3*y^2/delta(x)^2+2*y^3/delta(x)^3)/delta(x))/(3*B*H/delta(x)+2) end proc

int(u(x, y)^2, y = 0 .. delta(x))

 

I tried the following partial integration in MAPLE. But Maple says:

Error, (in u[x]) too many levels of recursion.
Analytically it is possible to evaluate the integral in the above lomits. Where lies the problem?

I wrote the following MAPLE lines to determine the three constants a, b and c from three boundary conditions. Whatever a, b and c I get as result are correct. Now I want to substitute back the values of obtained a, b and c in the expression for Te to obtain the resulting temperature distribution. I used both algsubs(a, b, c, Te) and subs(a, b, c, Te) one by one to substitute a, b and c in the expression for Te and get the result. But both way it is showing...

 

Hi!

 

I have seven curves (expressions) R:=f(x) for different value A.

1. How to Plot all curves on one 3D spece plot?
2. Hot to get (fit) surface equation R:=f(x,A) from all 2D curve?



 

surf_eq.mw 

 

wzel

Hello,

 

I have four old Maple 10 Worksheets sitting around my harddrive. I'd like to view them again, but my Maple 10 license won't be activated again, they tell me to buy a new 13 or 14 one.

Does anyone still have a Maple 10 (or compatible) version and would convert four small worksheets into PDF for me?

Thanks!

I wrote the following Maple lines:

I wrote the following lines in MAPLE:


I have used dsolve to obtain the solution of the inserted two systems below. The obtained results for the first system is accurate, where the obtaind solution of the second one is not accurate. I think the problem is in approximating the first system solution to be used in the second one. I would appreciate any advice on how to  obtain accurate results for the second system

 restart; endv := 5; sys0 := diff(f(x), `$`(x, 2...

I have always thought that regressions has been too complicated in Maple. 
The Fit command is too fiddly ie you have to specify too many things and
it is easy to get it wrong plus the statistical output you get is far from
mainstream ie you dont get t-values, p-values, R, R^2, Adj R^2 etc etc.

I have therefore designed a module called SReg with a new procedure called Reg()
which only needs one input and that is a datamatrix. It is important however that

Daer all! I want to solve the following equation

> H(z)*(1-m*H(0)^2*(1+z)^3/H(z)^2)-2*e*sqrt(1-c^2)*sqrt(r)*H(0) = 0;

where H(0) denotes the value of H(z) at z=0 and other constants are

> m := 0.211: c := 0.80: r := 0.338: e := 1:

If I want to use the fsolve command as

> eq := z->H*(1-m*H(0)^2*(1+z)^3/H^2)-2*e*sqrt(1-c^2)*sqrt(r)*H(0) = 0;

> Y := z-> fsolve(eq(z), H=1):  

what should I imply instead of H(0)? 

Suppose I have the following expression:

u=a+bx

Now I want to determine a and b using the conditions:

at x=h, u=4;

at x=6, du/dx=4.

Can I do the same using MAPLE? If possible how can I do it. Where to look for it?

Thanks in advance.

Hi I teach in a high school. Basically I have found that if I ask a question like: Factorize fully (x4-y4), and use a MathContainer for both the question and the answer (to be filled by students), I can't find a way to see whether the students have fully factorized the expression. Suppose (x4-y4) is in MathContainer1 and MathContainer2 is to be filled in by students. Using the code:

if GetProperty('MathContainer1','expression'...

First 1630 1631 1632 1633 1634 1635 1636 Last Page 1632 of 2224