Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

In matlab, a function is returned a structure H, say H.a, H.b, ...

In maple, I want to call this matlab function, but what returned to maple is a Record:

 

Hs:= getvar("H");

Hs:= Record(a=..., b=..., ...);

 

So how can I convert this record to a normal maple array? so I can access to each element by Hs[1]. 

 

Thank you

Kyle

Hi there, I'm trying to pass some calculation to Matlab then retrive the result by getvar(), but seems something is getting wrong.

my matlab function is very simple:

 

function out =maple_fun(a, b)

out = a + b;

return

 

this function is saved as maple_fun.m.

 

in Maple,

restart:
with(Matlab):
openlink():
DirectoryLocation := " cd  '/Users/Kyle/Documents/MATLAB/'  ":

Useing the following procedure I'd like to collect a set of  roots in a list of lists, so they can be manipulated and presented in various plot options. Some of which could be very interesting (to me only perhaps).

One option is to create a loop which produces values of newton roots x0 for a given function. For example:              f:=x->(x^7)-5

for x from -1 to 1 by 0.05 do

Hello,

I'm solving a system of 3 second order ODE's for 3 unknown functions, using dsolve. But in the output, I receive various sets of solutions which contain only 3 constants of integration. A friend solved the same system but in Mathematica, and received more constants of integration. 

I guess this has to do with the issue that Maple omits additive constants of integration almost everywhere. 

Is there some solution? i.e. some way of using...

I am looking for a numerical scheme which can easly handle such type of problem.

I already had the analytical results of this problem, now I want to know how to treat this problem numerically.

Any idea, then please let me know.

Thanks

with(SumTools):
He := sum(((-1)^k)*n!/(k!*(n-2*k)!*2^k)*x^(n-2*k), k=0..n/2);
Gen := simplify(sum(He*z^n/n!, n=0..infinity));

convert(Gen, ratpoly);

Hi,

I have an inverse kinematics model for a double inverted pendulum. There are multiple solutions for each joint angles due to symmetry and I have to choose the appropriate ones. I thought I can use the previous choices and compare them with the current multiple solutions, so I could choose the ones which are closer to the previous ones. However, since the double inverted pendulum moves in in both region at the equilibrium, this aproach does not work. Could you advise...

I watched a webinar by Dr. Robert J. Lopez, titled "Algebra, Trig, and Precalculus Math – All by Syntax-Free Maple".

In it he says he will give his email at the end if anyone wants the worksheet he is using during the webinar.  

I don't think he ever gave his email and, as a Precalculus teacher, I would really like the worksheet.  Please advise.

Hi maplers

I was wondering if it is possible to change default document template and startup code?

/Delkrak

How to construct the decomposition-field of the polynomial x^4 + x + 2 over GF(11,1), where GF(11,1)
is Z[11] = Z mod 11 (see ?GF for more info), in Maple?

http://www.file-extensions.org/imgs/app-picture/3023/maple.gif

I want to make an application like the picture in Maple 16. Cuold you help me how to make it ?

Do you have any applications about physics nn maple 16?

Hi every one,

How can I get bouble Curl of this equation

 

 

 

In the above equation, the first term has the Laplacian, the second one has the gradient and in the term "k" is the unit vector and also u=(u1,u2,u3). sqrt(R) is a constant. 

 

conisder
 
>eq1:=n=(k[f1]^3+k[f2]^3)/6/Pi^2;


> eq2:=el*V=h_bar^2/2/m*(k[f2]^2-k[f1]^2);


> eq3:=solve({eq1,eq2},{k[f1],k[f2]});
 
> eq4:=allvalues(eq3):
Solving this i get a very very massive result. Let me take a branch:
 
eq5:=subs(eq4[2],k[f1]);
 
I get
 
1/h_bar*(-(1/2*n*Pi^2*h_bar^3/el/V/m+1/2*...

What is the next two terms for this pattern...

1, -2, 2, -4, 0, ...

Hi/

the code below wroten by Maple 13. I use h=0.29669 and N:=15 and digit=80 fsolve works perfect! but when I changed N:=16 and another number greater than 15 fsolve didnt return result and return some equation.

whould you help me how to resolve this problem?

sorry i upload this code. to run easilySinc_MBVP_V2-temp.mw

thanks

 

> restart;
> N := 15;

First 249 250 251 252 253 254 255 Last Page 251 of 2231