Finding the best-fit compound sine function?...

I have a set of data points which form an *almost* straight line, but as the line is extended out the data points vary more and more from the median. I've figured out that they're actually forming a sinusoidal wave, which grows in "bandwidth" as it goes further out, and which is centered on a y=mx+b line. I'm guessing the fuction is along the lines of y= (ax)*(sin(bx))+cx+d How do I get that formula out?

Help with printing inermediate steps of dsovle fun...

I was wondering if anyone might know how to print the intermediate steps when using the dsolve function in to solve a 4th order ODE. I get the result of the dsolve function, but I want to see the actual steps that maple takes to get there. Is this feasible at all, or is there another much simpler method that I'm just not finding? Thanks in advance Jimmy Navarski

Complex numbers and images...

Hi, I have a matrix of complex numbers. How can I show the image with maple? Thank you

Error in quaternion package...

Hi, I've been experimenting with the quaternionspackage. (The free download, not the commercial package). There seems to be an error in the calculation of the inverse: with (Quaternions); [*, +, -, Qabs, Qadd, Qamplitude, Qangle, Qarccos, Qarccosh, Qarccot, Qarccoth, Qarccsc, Qarccsch, Qarcsec, Qarcsech, Qarcsin, Qarcsinh, Qarctan, Qarctanh, Qargument, Qaxial, Qceil, Qcolatitude, Qconjugate, QconvertToFrac, Qcos, Qcosh, Qcot, Qcoth, Qcsc, Qcsch, Qdefine, QdivLeft, QdivRight, Qdot, Qeval, Qexp, Qfloor, Qfrac, Qicoeff, Qinverse, QisCommutable, QisEqual, QisPure, QisScalar, Qjcoeff, Qkcoeff, Qlength, Qln, Qlongitude, Qmagnitude,

how to calculate inverse of this matrix!...

Dear sir: I have a question, I am not sure if the Maple can solve it. For a n*n matrix such as: ------------------------------- X_1 x_2 x_3 ... x_n 1 0 0 ... 0 0 1 0 ... 0 ... 0 0 0 ... 1 -------------------------------- Where n is a constant (n is a abstract number, not concrete as 3 or 4), the same is for x_1,x_2... I want to calculate its inverse of this matrix! I am not sure whom I should ask for help! Please give me some instructions! Yours sincerely;

Scope of local variables...

OuterProc := proc () local i, j; InnerProc := proc () i := 15 end proc; i := 0; InnerProc(); i end proc; The following proceedure returns 15, just as I want it to. However, compliation generates a warning saying that the variable i is implicitly local in Innerproc, which it is not. Is there any way to turn off this warning without turning off legitimate warnings about implicit declarations of local variables?

finding the inverse of a matrix using Gauss Jordan...

I am trying to write a procedure that will find the inverse of a matrix, A, using the Gauss Jordan method, without using the commands GaussJord or Inverse. Anyone any ideas?

Student Versus student Package...

Is (Student) still a package in Maple ? I was trying to get a double integral to work and I was only able to do so after replacing, (with(Student)), with the command (with(student)), and using the command Doubleint. Why was that so ? v/r, Also is the student package the only place where one can get tools to do iterated integrals ?

Objects in MAPLE programming Language...

I’ve learned a fair amount about programming in MAPLE but am still perplexed by some things. I’m not sure how to simulate VB user defined types. Do I use modules, records, tables, some combination of the above? I wrote a Sudoku solving program in VB. The program used the following type and variable declarations: Private Type Square_ NumPossible As Integer Possible(9) As Boolean Number As Integer End Type Dim Square(9, 9) As Square_ If Square (i,j) had been solved then Square(i,j).Number was not equal to 0. If the number 7 were still a possibility in Square (i,j) then Square(i,j).NumPossible(7) returned TRUE.

Solving system of equations, 3 variables, involvin...

hi guys! Alright... I have a system of equations in the form of: y=ux^[v+w*ln(x)] So this is what I do: 1.Define the function: h := -> u*x^(v+w*ln(x)) 2.Next, I have to tell maple some solutions to this equation: eqns1 := {h(.6) = 13, h(5) = 120, h(11) = 1000} 3.tell maple to solve: solve(eqns1, {v, u, w}) But I get: Warning, solutions may have been lost and I get no solutions. What is the problem with what I have input? Thanks a lot guys!

summation with for loop...

Hello, I want to solve out this, Please replace this text with the link to your file. The link can be found in the File Manager

> f1:=factorial(n+1)*((r+1-i)^n)*((-1)^i)/(factorial(i)*factorial(n+1-i));

> f2:=factorial((2^k)+n-r)/((2^(n*k))*factorial(n)*factorial((2^k)-r));

How do I output the real part and imaginary part o...

Hello, I would like to know how to separate the complex date into the real part and imaginary part, then write out the date into two different file. As the following example says, I have the data like this 1.4687+2.2874*I -1.1312+2.4717*I -2.6911+.38360*I 3.9923+6.2177*I -3.0749+6.7188*I -7.3151+1.0427*I 10.852+16.901*I -8.3585+18.264*I -19.885+2.8345*I By using the command, > P := proc(f,x::complex(numeric)) fprintf(f,`%g\t%g`,Re(x),Im(x)) end proc: > writedata(terminal,A,float,P); I have ouput the date into the file as the form like this, 1.468700 2.287400 -1.131200 2.471700 -2.691100 .383600

Global Optimization of a Multivariable Procedure...

I've always had difficulties using maple to optimize a procedure of multiple variables. I have a problem now where I have a procedure AreaRegion(x,y,z). There are many conditions and subroutines in this procedure that are used to calculate the area of a specific region defined by variables x,y, and z. Its algortihm is based loosly on a Graph Theory program. Anyway, back to the main problem I'm having. I want to minimize AreaRegion(x,y,z). I tried > Minimize(AreaRegion, 0..Pi,-2..2,-2..2) But this gives me > Warning, no iterations performed (And an incorrect answer) I tried

Another Problem w/ doc mode...

I have a polynomial a large polynomail that I have got from Maple but I need to re-organize this based on powers so I can use it in java they way I need to eg. `12412315 + 1235234X^2 + 32454X^3 + 2400X^4 + 24525434X^5 + 23412452X` but I wish to format it as `1 + X + X^2 + X^3 + X^4 + X^5` Is there a way in maple to do this quickly or will I have to deal with this on the java end? Cheers in advance