Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
  1. Is there a way to write procedures in Maple which return procedures?
    1. If there is, would you please give me an exemple?
  2. What's the difference between writing a procedure with '->' and 'proc'?

Hello!!!

I have an equation written in several terms: Q:= T1+T2+...+T37.

I want Maple to present my equation Q in the order I typed but it sorts it in an strange way, for example, the order would be: Q:=T5+T3+T35+...+T3.

Because terms T1...T37 are quite complicated expressions, I need Maple to keep them in the order I indicated in the sum.

Is there anyway that I can force Maple to keep it in the right order?

 

Thanks!

my programme seems to be giving me all permutations on a nXn board been trying to find where i went wrong but its took me days and still cant locate ... i want this procedure to give me the n queens on a nxn board that are non attacking. please help

.place:=proc(z)
global L;
local i,k;
k:=z;
L:= Array(1..k);
for i from 1 to k do
if L(i)=L(k) # two in the same column
or abs(L(i)-L(k)) = abs(i-k) # in the same diagonal
then
return (false);
fi:
od:
return (true);
end proc:

I am trying to view some fairly involved 3D plots in Maple 10, where I both construct some polyhedra, and label the points. When I click on the image, in order to rotate it, etc., it vanishes. Generally, I can recover it if I slightly scroll the page up or down (manually -- Maple 10 has no scrolling from the mouse -ack!). But if I touch the image again, it vanishes again. This does not seem to happen if I view simpler images, but I need to view the sets, and their labels (vertices). Any ideas? Thanks!

(1/2)*sqrt(2)

I know that it is too simple, but if my expression has lots of these terms then it will take me some time to simplify it by hand.

I am looking for an automatic way to do it in Maple.

 

Thanks

tlist := [ [s] ]:
  for j to 4 do
    if tlist[-1,1]=s then
      tlist := [ tlist[], [t,tlist[-1][]] ]
    else
   tlist := [ tlist[], [s,tlist[-1][]] ]
  end if
 end do:
tlist;
 

which gives result

[[s], [t, s], [s, t, s], [t, s, t, s], [s, t, s, t, s]]

 

is there an easier way of writing this?

Hi I am trying to plot sin (pi x) but maple says

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

I cant understand this warning, as when i put 3.14 instead of pi it plots a nice graph.

 

Please help

In Maple 13, I use: convert(arccosh(x),ln); Maple gives: ln(x+sqrt(x-1)*sqrt(x+1)); which is fine. Now try and convert back: convert(ln(x+sqrt(x-1)*sqrt(x+1)),arctrigh); Maple gives: ln(x+sqrt(x-1)*sqrt(x+1)); Why doesn't Maple return arccosh(x)? Thanks.

Hey

I was trying to use the command readdata to read a *.txt file in which I saved the results of some calculations that I obtained with a program that I wrote in C language.

I'm organizing the data in columns on the *.txt file. For example:

hello, how do I simplify an equation in cos and sin (or any other) into either of only cos or only sin. for example, imagine we have y=sinx + cosx. How do we ask maple to change the whole equation into terms of only sin or only cos?

 

tank you

How can i input two equations in maple and intruct maple to find the points of intersection? giving me the coordinates of each point

Hello, I recently bought the Mac Os version of Maple 13 online. However, in the meantime I got a new computer. My question is, is there anyway to uninstall it on my old computer and transfer it to my new one or do I have to spend another $125 to buy a new license? Daniel

These are the steps that I need to do

determine the domain and range of the functioon

determine the intercepts and asymptotes of the graph

locate the x-values where f'(x) and f''(x) are zero or undefined

then i need to determine where the relative extrema and the points of inflection occur (this i should be able to do if I can get the graph)

i have to know how to do this for two kind of function for a test tomorrow I missed all week because i was sick and we are allowed to use the software on the test.

here are the functions

I am sure this is easy but I am so new to the software I just can't figure it out

I want to analyze the graph of f(x)=x^3+3^2-9x+5

I just can't seem to figure it out at all

 

i also need to do the same with the following function

f(x)=(x^2-2x+4)/(x-2)

Please please help i have a test tomorrow and can use the software on the test so i need to know how to do this

Hello,

I have a system which is below:

 

X6-n4-n2, -n3+n1, -n4*X17t+n2*X9t, n3*X17t^2-n4*X17tt-n1*X9t^2+n2*X9tt, 130*X9tt-60*X17tt*n2*n4+60*X17tt*n1*n3-40*n2*X11+981*n2+60*n2*n3*X17t^2+60*n1*n4*X17t^2, -1500*X9tt*n2*n4+1500*X9tt*n1*n3+2250*X17tt+1000*n4*X11-14715*n4+1500*n4*X9t^2*n1+1500*n3*X9t^2*n2, n1^2+n2^2-1, n3^2+n4^2-1

I need to do primedecomposition for it. Maple could not do this for me kernel was lost. However system is not very big.

First 1836 1837 1838 1839 1840 1841 1842 Last Page 1838 of 2223