## display vector from storage rectangular ...

Dear all

if I have a vector defined as u[1..11,1]:=

How can display the coeffients of  this vectors
can I plot the vector

Thanks for any help

## Iterative solution ...

dear all

I have a linear system AX=b , I would like to compute the solution using Gradient conjugate method

CS.mw

I get the following error
Error, (in LinearAlgebra:-LinearSolve) method SparseIterative incompatible with data of type anything

Thank you for any help

## Plot two different funcitons...

Dear all

I would like to plot two different functions

One constructed using piecewise and second function on the sme interval.

The code run without error but I am not sure that its true, since we have two different function but in the graph we can not see the difference betweem them

codexsqrr.mw

## unapply to define piecewise function...

Dear all
I have a problem using unapply to construct all functions defined in each intervals.
If I use unapply to construct only two peicewises fuctions the code work well, but otherwise there is someting missing
splineProb.mw

## using code like this, its run
ff:=unapply
( piecewise
( x < eval( Xlist[2], NaturalCoeffs),
expand( eval( S[1], NaturalCoeffs) ),
expand( eval( S[3], NaturalCoeffs) )
),
x
);

but using code like

unapply
( piecewise
( x < eval( Xlist[2], NaturalCoeffs),
expand( eval( S[1], NaturalCoeffs) ),
( x < eval( Xlist[3], NaturalCoeffs),
expand( eval( S[2], NaturalCoeffs) ),

expand( eval( S[3], NaturalCoeffs) )
),
x
);
does not run and return
Error, `;` unexpected

## Remainder Lagrange in series ...

dear all

I hope to write taylor expansion with remainder lagrange ..That is taylor lagrange expansion of a given function.

I tried
series(cos(x),x=0,5)

or taylor(cos(x),x=0,5)
always the remainder written USING O(x^6)
I want the reminder depend on the derivative ..that is Lagrange Taylor expansion

Many thanks

## floating point in a given data ...

Dear all

with(ExcelTools);

data := Import("datatest.xlsx");

I get flotting point like 15.0 , 25.0  in my data
How can get or transform data to integer ( without floating point)  that is instead of 15.0  I would like if possible to obtain 15

Many thanks

## sequence of plot in same curve...

dear all
I need to plot many curves on the same  figure.
with(plots):
for j from 1 to 6 do
pf[i]:=plot(f, x = a[i]..a[i+1]);
end do
How change the following line so that I can plot many curves like 20 or more, using sequence or someting similar
display(pf[1], pf[2],pf[3],pf[4],pf[5],pf[6]})

many thinks

## Help with the command PlotHistogram...

Hello friends,

I have an image in black and white and I wanted to compute and plot the intensity distribution histogram of it. So I did it with the command PlotHistogram, here's the output:

> PlotHistogram(Lena, 256)

I established the number of buckets to 256 but I don't see them at the x-asis, and I would like to see them for clarity as I don't understand the scale that is used by default. Could you help me achieve this and maybe also understand the scale used by default?

Thanks a lot.

## print value of matrix defined using loop...

Dear all

I have a matrix defined using loop

How, can I print the value of the  matrix

Print_vaue_G.mw

thank you

## copy paste from maple...

Dear all

I have a table with entries obtained using maple code, how can I copy this table to powepoint as image

many thanks

Dear all
I have a problem when running the follwoing code using the input proposed.

integ_R.mw

problem : print_table , used as input in  proc

## trapezoid rule using loop...

Dear all

I tried to compute an integral using trapezoidal rule using two differents methods but I get two different results
trap.mw

## solution behavior ...

Dear all

I would like to sketch the solution of first ode, but by hand we can not get the solution. I used maple, to  solve the ode but unfortunattely there is no solution obtained so I can sketech the behavior of the solution.

Is there any way to sketch the solution behavior .

sketch_solution.mw

thank you

## The for loop does not recognize alias...

In using maple 17, for a for loop, the alias command is valid outside the for loop, but entering the for loop, maple verifies that alias is not recognized.The code is as follows:
with(PDEtools):
for k from 1 to 4 do
alias(u[k]=u[k](x,y,t));
alias(a[k]=a[k](x,y,t));
od:
print(has(a[1],x));
sol:=[]:
for i from 1 to 4 do
sol:=[sol[],a[i]=rhs(isolate(a[i]+diff(a[i],x)+i=0,diff(a[i],x)))];
print(has(a[i],x));
end do;
The output is as follows: thequestionofalias
true
[a[1] = a[1] + 1]
false
[a[1] = a[1] + 1, a[2] = a[2] + 2]
false
[a[1] = a[1] + 1, a[2] = a[2] + 2, a[3] = a[3] + 3]
false
[a[1] = a[1] + 1, a[2] = a[2] + 2, a[3] = a[3] + 3, a[4] = a[4] + 4]
false
Why is it outside the loop? A [1] ... A [4] has the variable x, but either a [ I ] or a [1] has no variable X.Send the question to the Forum and see which expert can answer it. See how you can make the alias command work inside a for loop! I'd appreciate it if you could answer that!

## How to solve integration?...

How to solve this integral equation?

rho:=1/(2);

mu:=1/(2);

T:=1/(4)*(t-x)^(1/(2));

E[rho,mu](T):=Sum((T^(k))/(GAMMA(k*rho+ mu)),k=0..5);

eq1 := h(t) = (8/3)*(int((t-x)^(1/2)*E[rho, mu](T)*(1/(sqrt(Pi)*x^(1/2))-(3/32)*x^2+(3/16)*exp(-x)-1), t = -1 .. 1));