## 25 Reputation

13 years, 36 days

## Curve fitting with two conditions...

Maple

I have a piecewise function which I want to curve fit automatically in Maple. The conditions are:

• The new smooth curve must have the same area.
• The new curve mus start and end at the same location.

An image of this is shown below. How can I do this in Maple?

## Export function data as matrix from Mapl...

Maple 14

I have a function in maple with one variable (say f=2*x). I would like to generate a nx2 matrix with the variable (x) in the first column from 0 to 100 and the function value (f) in the second column. I would then like to export this numerical data. How can I do this in Maple?

## Plot Kurtosis of Function with one varia...

Maple 14

I have a function with one variable which I would like to plot the Kurtosis (statistical term) of (for a specific range). The purpose is to produce a plot which will show the 'peakiness' of the curve.

Say y = x^3 + 2*x^2 + 3*x;

For the range, say x = 0..10, I would like to plot the kurtosis (Maple function is also called Kurtosis). I have been able to do this numerically with a matrix of data but am unsure how to do this in Maple.

## Converting Piecewise function to Fourier...

Maple

I have a piecewise function which I require to be transformed to a fourier series.

The function to be transformed is:

velocity:=piecewise(t<=6, 3*sin(t*Pi/6), t>6, 0);

How can I change this to a fourier series in a simple manner.