MaplePrimes Questions

How to include/code/type such type of boundary conditions in maple?

Thanks

 

Hello. I am creating a custom component similar to the one that maplesoft has as an example (the discretized counterflow heat exchanger), but with some diff. The problem is that when i execute dyamic systems i get an error saying:

Error, (in DynamicSystems:-ParseSystemInputs) cannot match the arguments to an appropriate system

Is this a problem on my equation (something that i may have forget) or is another thing? Are the arguments type of dynamic system in the right "type"?

Hello,

1. Is it possible to create a function file in Maple and call the function(file) from the main program(like Matlab?). If yes, please give me an example case.

I want to create a function file which has the general input terms and call the function from another script file without copying/running all the code.

2. Is it possible to run 'recursive function' in maple?

3. How can I create library of my function files?(like in Matlab I can create...

I have a vector containing data which is m*n long (ie from 1...(m*n)) and I want to convert it to a matrix of m columns and n rows.

What's the quickest and most efficient way in Maple to do this?

How do I export a procedure written inside the GUI (i.e. Document mode) into an external file format that is directly supported by a read of a package module?

Every export format I tried requires post editting by a text editor to "fix-it".  And it seems most export options drop the comment text (i.e. text after a #).

Thanks.

Dear All,

I am trying to solve the following equation but I don't know what I am missing:

A:=0.0032*cos(19*theta+18*w*t);

B:=0.0014*cos(19*theta+18*w*t+phi);

T:=A+B;

theta = theta,  w=w and t=t  phi =Pi/6

when I try to add them it gives very long answer.    

Your help in this regard will be highly appreciated.

Best Regards

A.Q

Soton

 

Dear everyone,

I'm trying to create a list, L, of all vectors of length l with values in a small discrete set S (eg S:={1,2,3}). I can do this for any particular l by the following code:
(Assume l:=5)

L:=[]:
for i_1 in S do
for i_2 in S do
for i_3 in S do
for i_4 in S do
for i_5 in S do
                          ...

Hello all

I have a worksheet where I use a .txt file as input (link in the end). Then, if I try the following command

bettermcproc(10,2*10^5,10^(-6),-60);

it fails, saying it cannot calculate. If, however, instead of using the input file I put it all in the worksheet it works perfectly. I know I could just put it all in the worksheet, but I want to save some space and time, since I use the same input file to do lots of different things.

Thank you all for the help

Find $M=sin(54°)+cot(7.50°)$

when i try to solve the equation given below the following problem occured. pleae tell me how can i solve this boundary value problem.

> eq := -(diff(p0(x)*(diff(v(x), x)), x))+q0(x)*v(x) = f0(x);

> l1 := -p0(0)*(D(v))(0)-p0(0)*v(0) = 0;

> l2 := p0(1)*(D(v))(1) = 0;

> dsol := dsolve({eq, l1, l2}, numeric);
Error, (in dsolve/numeric/bvp/convertsys) too few boundary conditions: expected 3, got 2
>

Greetings,

Is it possible to change the font size used for existing Maplet applications? If it is possible to do so how can I make it? I want to increase the font size because the natural resolution of my screen is pretty high and the numbers are barely legible in any Maplet application. 

Thanks in advance.

The process I am trying to do is create a new expanded Hermitian Matrix using one previosuly defined and then specifying the remaining elements of the upper triangle. This method works but wondering if the third line commands can be simplified into the one Matirx() command in the second line?

> HA := Matrix(2, {(1, 1) = 0, (1, 2) = f, (2, 2) = 0}, shape = hermitian);
> HAA := Matrix(4, HA, shape = hermitian);
> HAA(1, 3) := -t; HAA(2, 4) := -t; HAA(3, 4) := f;...

I installed the Maple 16 in Windows 8 and it works in command line mode. But for worksheet mode, it freezes once you open the Maple and can only be closed in task manager. Any quick way to solve this problem? thanks

I see there are functions for 3-dimensional planes and spheres but what about arbitrary curves?

For instance I have the following 3D curves: z = y*log(x) and z = y + x*log(x)

  1. How can I compute the intersection of these curves?

I am trying to plot (3-Dimensional) two functions of 2 variables in maple. Here is my code:


K := (V, E) --> E*log(V)
P:= (V, E) --> E + V*log(V)
with(plots):
plot(K(V, E), P(V,E), V = 0 .. 20, E = 0 .. 190)               /*This line does not work*/
I want a 3D plot where a point in the graph would be: (K(V, E), V, E)
 
  1. How can I plot a 3-Dimensional Plot of two functions with 2 variables?
First 1672 1673 1674 1675 1676 1677 1678 Last Page 1674 of 2434