MaplePrimes Questions

Hi,

This error has occured for me several times, and I can't seem to find any way around it.

When I make an error in either the algorithm or especially in the grading part, I sometimes get something like this:

Part 2: The character ; cannot be used in a formula.

...or some other error message. I can figure out what I've done wrong and how I might fix it, but I cannot edit the question. Whenever I click on "edit", all I get is the error message....

The first line below is my code for computing the angle between vectors U and v.

It works and gives correct answers.  But it appears on the screen with this  "Typesetting: delay"  for each of the dot products.

What does it mean?  Is there a package I should have loaded?

This is for a lab where I want students to use the formula as it appears in the textbook rather than using some built in function that makes it "too easy."

As shown in the image bellow. The first statement of fsolve function yields nothing but evaluating the expression. I copied the expression into the second command line and got the result. How can I make the first one works, since it belongs to a proc in my program. 

This is another elementary question (I tried searching MaplePrimes but couldn't find anything):

Suppose I'd like to use "solve" to solve a system of equations specified as vectors:

z := <yb,x1b,x2b>:
v1 := <v1y,v1x1,v1x2>:
v2 := <v2y,v2x1,v2x2>:
e1 := z = v1 + v2;
e2 := v1 <= UU*delta1;
e3 := v2 <= UU*delta2;

Invoking "solve([e1,e2,e3],[z,v1,v2])" does not work. 

How do I convert each element...

How do I use floor function without calling maple?

Hi

I have some difficulties in manipulating matrices in Maple

For example, I have a matrice with 40 rows and 9 columns ans I want to extract the odd rows taking columns inchanged. The new matrice which has 20 rows and 9 columns must replace the old matrice

In Matlab, I do this with only one command: WTable=WTable(1:2:40,:);

Thanks in advance for help

Hello,

 

I would like to convert this Maple code into Matlab. Matlab() gives me "Warning, the function names {`$`} are not recognized in the target language"

 

Here is the code:
for d1 from 2 to r-1 do

for l to d1 do Z[d1][l] := combinat:-permute([`$`(0, d1-l), `$`(1, l)]);

K[d1][l] := factorial(d1)/(factorial(l)*factorial(d1-l))

end do

end do; Z[2][1][1][1]; K[2][1] 

 

Thanks and cheers :)

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

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