MaplePrimes Questions

Hello,

I am just now learning how to use Maple and I am having trouble turning Ohm's Law into a function.

Here is what happens when I try to turn Ohm's Law into a function.

 

Vrms:=(R,I)->R*I

       Error, invalid operator paramet name (and then it puts a dotted red line box around everything to the right of the equal sign)

 

What really irritates me is that I can type

I need to label the intersection between a plane and a surface. A perfect, no need to explain more example is this picture taken from wikipedia:

I need to be able to show the red lines that you see there.

http://upload.wikimedia.org/wikipedia/commons/e/eb/Minimal_surface_curvature_planes-en.svg

Can someone help?

I right click my units and it does not give units to simplify

When I try and to z transformations and inverse z transformations using the Heaviside function as follows Maple doesn't seem to be able to handle it; does anyone have suggestions?

 

ztrans(Heaviside(n-No),n,z) assuming No:posint


would expect z^(-No) * z/(z-1) but no results, does work if No replaced by a specific integer

Similarly, ztrans(x(n-No),n,z) assuming No:posint  acts the same.

 

 

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');

First 1962 1963 1964 1965 1966 1967 1968 Last Page 1964 of 2434