How do i use LSSolve in maple, i have a set of data and a formula and i need to use LSSolve to fit a curve to the data and then plot it.
thanks

Hi All you folk with more experience than I have. Question 2. Is there a way to place the legend in a graph next to the graph rather than below it? Question 3. How can I create my own own variable names... I want to place a ˜(tilde) above a character, present task requires the ˜ above a 'v'. Question 1. This was answered unsatisfactorily in "Symbolic characters in plot titles". I have attached a worksheet with my quetsions. Any help will be appreciated :) Thank you Al

Is there an easy way to do numerical differentiation in Maple? I have a set of data, but would like to try differentiating numerically rather than fitting the data to a curve first.
Thanks

I have the function f(x,y)=(x^2+3y^2)e^-x^(2)-y^(2),
and when I try to graph it with either plot 3d or implicit plot 3d I get nothing. Ant ideas what I need to do?
Thanks!

I've compiled and run the samples\openmaple\simple\simple.c from Maple 9.5.
How do I get the program to run without displaying the spash screen? When running executables from a command line, this splash screen is annoying.
The -q (for quiet) command line arguement does not work. Other command line arguements are evaluated by the api. Give it a non-existant arguement and it gives a usage reply as expected.
The openmaple api spawns the spash screen found in bin.win\oms32.exe. Renaming this file causes an error: "Error launching OpenMaple splash screen." I can't delete the file, The error message is just as annoying as the splash screen.

I want the data returned from a Maplet Evaluate to appear in a Table. I have listed below an example Maplet:
with(Maplets[Elements]):
> setdata:=proc()
> Maplets[Tools][Set]('expdata'= [[5,42.6],[10., 31.5], [15,28.8],[20., 22.3], [30., 18.7], [45., 14.1], [60., 11.1], [90., 7.7], [120.,4.9], [180., 2.5], [240., 1.3], [300., .7]]);
> end proc:
> maplet := Maplet([
> # [BoxCell(Table([A, B], 'expdata'), 'as_needed')],
> [BoxCell(TextBox['expdata'](3..30))],
> [Button("OK", Evaluate(function='setdata()'))]
> ]):
> Maplets[Display](maplet);
The Commented out "Table" line fails and the "TextBox" works OK. Is there a way to have this data appear in Table form?

how do i use LSSolve to find least squares solution to a function and plot it. Thanks

Since I accidently changed my system clock to a time in the future and set it back correctly, I get an error when Maple starts.
It's an license-error more specific: FlexIm error: -88,309 "System clock has been set back"
Maple asks to reactivate, once done that successfully Maple says that after starting Maple again everything will work properly. But it doesn't work, I get once again the same error and the question to reactivate.
The error is known by MapleSoft, I got this information:
"FLEXlm checks the computer for files with a timestamp beyond the current date. If there are files with a creation date in the future of what the current system clock reads, FLEXlm will return this error. These files must have been created when the clock was set incorrectly. We suggest the user conducts an advanced file search to find the files that are causing the problem."

Hi, I have a function that looks like: f := (x, y, z) -> -(y^x) + z; Now, if x = infinity, y > 1 and z < infinity, the value of the function f should be -infinity. How do I get that result using Maple? I was trying to use commands like simplify, assume and assuming, but I could not make it work. Any help would be appreciated... Thanks!

Hello, all! I have a linear system of real numbers. I copied the example in the tutorial for using LinearSolve and converted my matrix to a float:
with(LinearAlgebra);
my_solve := proc(A::Matrix)
local sz, local_A, B, sol;
sz := Dimension(A);
local_A := Matrix(A, datatype=float);
B := Vector(1...sz[1], 1);
sol := LinearSolve(local_A, B);
end proc;
And when it solved, it got the wrong answer!! It would produce a solution that simply didn't work. When I removed the float conversion step, and just used my original matrix, it worked perfectly.
I would love to understand this better... is it because of rounding?

I am having issues creating an array and dividing by the values in the array. Any tips on how to make this a quick and painless process?

I use Maple 10 in Document Mode. How do I set up page headers and footers in a document so when it prints one can see the document title, date,, page number, etc.?

I know how to use the Curve Fitting Assistant to generate the least squares regression line for my data points. However, I need the graph of those data points and the regression line shown in the Assistant itself (with the circles / red line). How do I past / recreate that graph in the document itself?

I've had considerable difficulty in integrating products of trig functions with Maple. It usually expands the trig functions into forms that just are a mess to deal with. So, I usually handle this by splitting an expression into two parts: a constant term that doesn't depend upon the integration variable and a dependent term. In the past, I've usually done this by hand but have now created a procedure to do this automatically.

Here's an example procedure that I need help with in order to figure out how it produces certain cases of it's output. First, in the case when the argument n is negative does the procedure call itself again in the denominator of the fraction and return the value of the last line of the procedure (inside the inner call to itself)? I also assumed that the special identifier procname was not in unevaluation quotes in order to allow evaluation. Next, I also don't understand how the output for cases when the exponent n is even is produced. What's really confusing is the use of the anonymous mapping (x -> x.x), and also the meaning of the entire expression after the word then. Is that a multiplication of the two expressions in parentheses ? i.e. (x -> x.x)(procname(X, n/2)
> Pow := proc(X, n::integer)
if n <> x.x)(procname(X, n/2))
else X.procname(X, n-1) end if
end: