I've run into a problem with Maple. When I solve a trigonometric equation, for instance sin(x)=0, it responds with only one solution, even though there are countless.
So what I mean is, when I type:
solve(sin(x)=0,x) -> x=0
x = 0 is of course correct, but I would really like it to give the general form of the solution for such an equation.
My TI CAS calculator responds with this general solution set: x=c*3*pi , where c is a random integer, Z, (any whole number).
Is there any way to make Maple give such a respond as well?

Hi all.

Ok, I'm trying to save to a file a set of a complex number, a float number and an integer. According to Maple Help this can be done with:

**writedata[append]('terminal',[-0.123456-0.123456*I, 0.1334423423*10^(-15),3], float, proc(f,x) fprintf(f,`%a`,x) end proc);**

And it works (the numbers are just an example of what I'm trying to do).

The problem is that I want to change the precision of the second number (or to all of them) to say 5 digits. But when I try as the help suggests:

I need to formally partial-differentiate a given arbitrary function G(z,w) with respect to two other variables z=z(s,t) w=w(s,t) and then to express the p-th-total-order partial derivatives of z with respect to s and t as a polynomial in the partial derivatives of G with respect to z and w and the partial derivatives of w with respect to s and t, divided by the partial derivative of G with respect to z raised to the power 2p+1. The eliminate function allows me to eliminate all partial derivatives of z w.r.t. s and t of total order lower than p.

Hello,

I'm try to access some external Fortran routines within maple. I have a Fortran datatype of

character*255 hf(20)

This is an input parameter, and I believe this will map into a maple Array object, but I'm not sure of the datatype. The help says that the datatype can only be "hardware datatypes" so I take to mean it would have to be of type integer[4]...when I do this I get the error below.

Hi

I'm trying to use maple on a Dell with intel video chipset series 4, on a Fedora 11, and I get corrupted 3d graphics. I read this FAQ http://www.maplesoft.com/support/Faqs/detail.aspx?sid=33530

(point 3) but it seems that no solutions exist.

I'm using the intel driver, this is the sheet of xorg.conf

Does Maple have a command for return true or false when querying set membership of an element?

I have sets of random integers, Stuff[k], indexed by k, for example

Stuff[9]:={2,5,6}:

I need to be able to test if

7 is a member of Stuff[9]: // I should get false

5 is a member of Stuff[9]: // I should get true

There is no such set membership function listed in the Help menu.

I finally figured out a for loop for sequentially removing one set from another (set-theoretic subtraction).

First of all: I'm so sorry, I posted my question to a wrong place ( into the poll).

So I copy here the question and the answer of jakubi and my reply to jakubi.

**Question**:

I would like to solve the following system

x*(2*sin(x)*y^2+x^3*cos(x)+x*cos(x)*y^2) = y*(2*sin(y)*x^2+y*cos(y)*x^2+y^3*cos(y)),

-x*sin(x) = y*sin(y);

Until I have founded only the solutions

x = k*Pi, y = +/- k*Pi; k is any integer.

**jakubi**'s answer:

more solutions

Hello,

I'm having a bit of difficulty with the function "eval" I would like it to perform a full evaluation of an expression, but it does not appear to be doing this. When I try to explicitly pass it a value for the evaluation level it doesn't appear to take the integer input, the only way I can get it to work is to nest calls to eval ...[ie eval(eval(exp))]. Below is the code giving me the problem, the problem occurs on the last line...any suggestions would be appreciated

Thank you.

__I am trying to write a program that contains multiple subroutine calls. I understand the placement of the single for-do loop to call the "lowest value" subroutine.__

__Here is program.__

Hi,

I am trying to generate a non-singular Matrix.

> KeyMatrix:=Mod(127,RandomMatrix(n),integer);

> if Determinant(127,KeyMatrix)=0 then

> Return(KeyMatrix);

> fi;

Basically, it asks Maple to return to

KeyMatrix:=Mod(127,RandomMatrix(n),integer);

again if the current one if not invertible.

however, i have confused myself with RETURN and return

which is should i use?

thanks

casper

Here is a strange behavior. I can understand that an integer and its float could be considered different, but the behavior should be the same in or out of a list. In addition it should not depend on the number of trailing zeros. In addition it should not depend on whether the integer is zero or not.

Recently I came across a page that was working with ifactor and it seems op now handles the operations a bit different now.

ifactor(3^43+1);

(2) (82064241848634269407)

a:=op(2,%):

ifactor(3^41+1);

(2)(270547105429567)(33703)

b:=op(2,%):

c:=a*b;

(82064241848634269407) (271547105429567)

I have a fairly easy question but I am new to Maple and can't seem to figure it out w/ Maple help or anyone online resources. The problem is list all pairs of integers between 100 and 110 that are relatively prime. (I think) I can make it work by doing:

for k from 100 by 1 to 110 do gcd(k, 100), gcd(k, 101) . . . ; end do

but what if the problem had said pairs of integers from 100 to 1000? I don't understand how to iterate this function for more than one variable. Any help would be appreciated.

AUTHOR: Fereydoon Shekofte
v := ImportMatrix("F:\\xyz.txt", source = delimited, delimiter = " ", format = rectangular, datatype = float[4], transpose = false, skiplines = 0)
c := ImportMatrix("F:\\face.txt", source = delimited, delimiter = " ", format = rectangular, datatype = integer[4], transpose = false, skiplines = 0)
MatrixOptions(mi("format"), 'order = C_order'); mi("format")
f := Array(ArrayTools[Reshape](c[1 .. 3864], 1288, 3), order = C_order)
plots[pointplot3d](v)
p := Array([seq(geom3d[point](p || i, v[i, 1], v[i, 2], v[i, 3]), i = 1 .. 1063)])

I have been working on a problem related to and using the famous Hadamard-Weierstrass Factorization Theorem (HWFT) for representing an entire function, E(z), with pre-defined zeroes, a(n), which go off to infinity. From HWFT one can represent any meromorphic function with pre-defined poles and zeroes as the ratio of two entire functions.

I am not interested in creating an entire function, but a function F(z) analytic on a disk centered at a pre-defined point such that the analytic continuation, A(z), of F(z) equals pre-defined values