MaplePrimes Questions

 

Hi, Im working in Maple 12. I have this function

f(x,y)=(x,xy)=(u,v)

This is a function of R2 to R2 , I want to know how this function transform the square (-1,1)x(-1,1) in the plane uv. When i put in maple the comand plot for this, it gives me an error, because is of the form:

f(f1(x,y),f2(x,y))

For those users that followed my post of past August 29, I must say that I got a response by a person (by name *Lark 49*) from Maplesoft [to my suspects of a serious bug in MAPLE 13] which response contained ANOTHER way of computing the Riemann tensor, the Ricci tensor and the Riemann scalar curvature, this time using Maple-13's other Package [Differential Geometry] that this time returned a correct response to my quests and serious doubts.

The fact...

I'm trying to put a counter in this specific type of ( for .. in ) loop.  Can't figure it out.

a:=[5,6,7]:
b:=[4,3,9]:

#unfinished code
counter1:=1:
counter2:=1:
for i in a do
  for j in b do
    c[counter1,counter2]:=i+j:
  end do:
end do:

What I can't figure out is, how to get it to work as easily as in this type of for loop. 

for i from 1 to nops(a) do
  for j from 1 to nops(b) do

Hi

Thanks for reply

sgn:=(-1)^(r-1);

Hello, this is probably a silly question but i am new to maple. I am constructing a loop but it does not accept complex numbers, for example:

 

for x from 1+I to 1+7I do;

x+I;

end do;

 

this is just a simple example, is there a way to do it like this or do i have to do something else?

 

Thank you very much

 

hi all,

swapping variables in the export line of a module changes its behavior.

First Example (works fine):

restart;
mp:= module() option package;
export mult, f2;
mult:=proc(v) return(3*v) end proc;
f2 :=proc(v) mult(v); end proc;
end module;

savelibname:="E:\\tmp";
savelib('mp');

restart;
libname := libname, "E:\\tmp";

with(mp);
mp:-f2(5);
mp:-mult(4);

# Output: [f2,mult], 15, 12

Hi all.

I was trying to perform a simple integration and convert the answer to a inverse hyperbolic function as follows:

int(9/sqrt(81*x^2-4),x);

simplify(%);

convert(%,arctrigh);

But the command convert fails to do the conversion. I should obtain arcosh(9/2*x)+c.   But the answer is in terms of the natural logarithm: ln(9*x+sqrt(81*x^2-4))

How do I manipulate the answer so that I can get the inverse hyperbolic answer?

Thank you for the answers

It is very helpful for me

if j_w a vector where elements are [1,5,3,10,2,1,0,4]

with the command "row, col, val := SearchArray(j_w);" I have all information about j_w. Iwant to get just the indices of nonzero where the values of j_w<=3 for example?

Best regards

Hi

In matlab we have this command:

I = FIND(X) returns the linear indices corresponding to the nonzero entries of the array X.

[I,J,V] = FIND(X) also returns a vector V containing the values that correspond to the row and column indices I and J.

Is there a command in Maple like "find" in Matlab

Thanks in advance

Hi,

I'd like to display a UNsimplified mathematical expression in a Mathcontainer component using a Button component. In Maple Help under Mathcontainer, it is writing that we can display a unsimplified expression using the value attribut. For example:

Do(%Mathcontainer0(value) = a^2*b/a);

should display the unsimplified expression in the Mathcontainer0 component. And

 Do(%Mathcontainer0(expression) = a^2*b/a);

In a Button, this command enables us to display in a Mathcontainer a Delta  (Delta). 

D(%Mathcontainer0 = 'Delta');

However, I want to display Delta y. (Delta y). If I write

D(%Mathcontainer0 = 'Delta y');

I am learning to use MapleSim to do my research.

and I should create a custom Component. Its function is:

there are two inputs s1 and s2, the output F=0 when s1=0, and F=s2 when s1=1.

I made a function like the figure as follows and the error occured

----------------------------------------------------------------------------------

I was very comfortable using printlevel with loops, conditionals and procedures in Maple 13, but recently upgraded to Maple 14.

The problem is that, regardless of printlevel, statements nested more than 1 from the top level of maple do not show. Oddly, this doesn't affect procedures or even nested loops inside procedures. The simple code here demonstrates the problem.

>restart;
>printlevel:=100:
>for i from 1 to 2 do
       for j from 1 to 2 do

Hi everybody,

I am using Maple 14 in document mode. Recently I encountered the problem with exporting polish special characters (like ąęćłóńśźż) into PDF file. Maple 14 just omits them. Why?

I use Maple in high school. My students deliver their homework created in Maple. Often this involves solving a number of exercises, say 7. Not all students are completely aware of how the Maple Engine works, so I tell them to put in restarts from time to time, at least when a new exercise begins. This prevents misunderstandings and loss of time which might else happen when calculations in one exercise interferes with calculations in the next exercise. One simple example...

First 1959 1960 1961 1962 1963 1964 1965 Last Page 1961 of 2431