Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi MaplePrimes,

I want to find the minimum x value for an elipse.  Namely -

x^2 + x*y + y^2 = 2.

I'm sure that the first steps are to differentiate with respect to y and set equal to zero.  This gives

x = -2y.

I'm not sure where to go from there.

Regards,

Matt

Here is a screenshot of my maple worksheet.

I’m trying to use Maple to develop tensor operations using the epsilon-delta notation as used in the attached document, which makes use of the following relationships

permutations.pdf    epsilondelta.pdf

I see how to generate permutations in Maple, and I see there is some mention of what I am trying to do in Maples definition of a signature.  But I am unable to see how to implement it.  Does anyone have any ideas?

Collatz := proc (n)

    local count;

       while n != 1 do

           if `mod`(n, 2) = 0 then n := (1/2)*n

           else n := 3*n+1

           end if;

           count := count+1;

       end do;

print(count);

end proc:

 

I wanna correct 'illegal use of formal parameter' error.

'n' always goes to 1 through 'while statement'.

Hello,

I am trying to use Apollonius procedure from geometry package. Here is an example:

restart;
with(geometry):
circle( c1, [ point( c1c, 0 , 0 ), 5 ] );
circle( c2, [ point( c2c, 5 , 4 ), 2 ] );
circle( c3, [ point( c3c, 13 , 0 ), 3 ] );
A := Apollonius( c1, c2, c3 );

Unfortunatelly the Apollonius method does not give any result. The only message is:

intersection: there is no point of intersection

 

Anyone know what is wrong in my code?

Best regards

Rafał Nowak

about the help menu of maple2015

I cannot find the help-manual menu at th maple2015

but I can find it at maple18.

how can I use the help-manuals..-List of Packages  from maple2015?

 

 

 

The black point correction for xyY to sRGB was incorrect in my original post. It should be done the same ways as for xyY to aRGB which was correct. Hope nobody was inconvenienced. 

 

I would be curious if others have found a more elegant way to index through an Array to perform an operation on a set of vectors. I had to use the single quote to get the operation performed first and the index increment second.

 

Corrections to the original version of theis document;
• Make the scaling for a nonzero black point the same for all RGB color spaces.
• Clip negative RGB values to zero.
• Remove the redundant Array container from matrix multiplications.
Use map in place of the $ to apply a function to each element of an Array.

Pixel_Conversion_B.mw

Dear Maple users

An engineering student asked me how Maple is handling complex numbers in polar form. He told me that his fellow students are using another CAS, whereas he himself prefer Maple. When making calculations with AC currents having different phases the other students were using the easy notation depicted in the first line on the picture below. Obviously here the angle (argument) is measured in degrees. I tried to perform the same calculations in Maple, but found it to require a very heavy notation: the other three lines on the picture. Now my question is: Does it really have to be that messy, or maybe there are some package, which will accomplish the task in a more neat way? I mean it is a rather common operation in the engineering sciences.

NB! Of couse one can argue about the educational value of using the notation of the other CAS! From that viewpoint they will probably not learn anything ...

 

 

Regards,

Erik

 

Why does the collect command work for some expressions and not for others. Here is a screen shot

I assume the collect command is supposed to rewrite the expression in terms of the variable descending order.

p := expand((a^2+2*x)*(a^2+2*x));
                        4      2        2   2
                       a  + 4 a  x + 4 x

collect(p, x);
                        4      2        2   2
                       a  + 4 a  x + 4 x

Does not work.

But if you look at the screenshot , it works for other expressions.

I am trying to solve and plot a diff. eq. with two initial condtions and keep getting the same error.

F1 := diff(x(t), `$`(t, 2))+omega^2*sin(x(t)) = 0;

g := 9.8; L := 1; omega := g/L;

sol := dsolve({F1, D(x)*0 = 0, x(0) = (1/2)*pi}, x(t), numeric);
Error, (in dsolve/numeric/process_input) invalid specification of initial conditions, got 0 = 0

 any help or suggestions would be appreciated

I have some X-Y data, and I would like to calculate a definate integral of the data. In this case x_data and y_data are vectors.

I tried this method.

y:=x->ArrayInterpolation(x_data,y_data,x)

But when I try to calculate an integral like this, I get an error.

int(y, x0..x1)

Error, (in int) operator y cannot be evaluated at one variable.

What is this error trying to tell me? I have tested by function y for values x1 and x2. My data is smooth and includes x1 and x2. I have no reason to believe that the function cannot be evaluated for any value of x. 

Is there another (better) way to do what I want? This is a part of a large worksheet that reads data from an excel file, and I don't know how to reduce the worksheet for only this problem.

Thanks.

A procedure can be made available in many worksheets by copying its original commands to each such worksheet. Is there a better way to include and invoke such a procedure in multiple worksheets?

with(Physics):
L := diff(q2(t), t)
diff(L, q2(t))

it return 0, is it correct?

Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct

For the life of me I can not get maple to plot this equation.  I have poured over various resources and it simply isn't working.  I have gone so far as to use SIMPLIFY and even  Re(circuitSix) and Im(circuitSix) yet still get only errors.  Any insight would be appreciated.

I want to make a nested loop and store the data(with complex numbers) in matrix in order to make 3D plot.

First 1207 1208 1209 1210 1211 1212 1213 Last Page 1209 of 2228