## Can you help me with the program...

hello eveyone! sorry, my English is not very good

I writed Neville algorithm

I want to creat a table(or a matrix) Q with

example:

f:=X->2^X;

with value of X: -2,1,0,1,2

-2   1/4

-1    1/2

0    1

1    2

2     4

I want to approximate f at x=0.5 by Neville

then:   for i:=2,...,n   (that case is 5)

for j:=2,...i

Q[i,j]=(x-X[i-j])*Q[i,j-1]-(x-X[i])*Q[i-1,j-1])/(X[i]-X[i-j])

output(Q)

this is:

-2  1/4     0       0            0          0

-1  1/2     0.875  0           0           0

0  1         1.25   1.3475    0           0

1  2         1.5    1.4375   1.421875  0

2  4         1      1.375      1.40625  1.412109375

do you understand my mind? sorry, my English is not very good

Regards

sunflower

## Derivatives in Maple...

Hey, I need to answer this question, not sure where to start..Any help/tips would be much appreciated....

Bob wants to explore the effect of changes in a, b and c on the function h, where h(x, y) = ∂ 2 /∂x∂y (ay sin(bx + c)). How should Bob do this so that if he redefines the variables a, b, or c later in the Maple session, subsequently computed function values h(x) use the new values of a, b, c?

## Multidiff derivatives...

I need to replace the "MISSING" in MultiDiff := proc(f,n,x) ---MISSING--- end proc; so that MultiDiff(f,n,x) evaluates as f (n) (x) if f is a suitably differentiable function, n is a positive integer, and x is an undefined variable..F(n) being an nth derivitave..Not sure where to start..Any help appreciated

## How do i plot a curve using a parametric plot...

we have a curve (x^2+y^2)^2=x^2-y^2

parametric representation of the curve is given by

x(t)=cos(t)/1+sin^2(t)

y(t)=sin(t)cos(t)/1+sin^2(t)

and we are asked to plot the curve using a parametric plot for -Pi<t<Pi

## solving linear programming...

hello

how to solve lp  on maple when consrtaints are in interval

eg

0<x<1

i try to find this on maple,but i could not found my desired ans.

i got an assignment in which 15 constraints are given and all are in interval.

anyone know the ans then plz help me

## Problem in combinatorics...

How many numbers exist which are: less than 1000, multiple of 18 and also multiple of 10? Use Maple to find the answer

## What is wrong with code?...

Hello everyone! My English is not very good.

I have writtien Lucas sequence program:

F := proc (n::nonnegint)

option remember;

if n < 2 then n else F(n-1)+F(n-2)

end if;

end proc;

L := proc (n::nonnegint)

if n = 0 then return 2 end if;

if n = 1 then return 1 end if;

if n <> 0 and n <> 1 then return

L(n-1)+L(n-2) end if; end proc;

S:=proc(n::nonnegint)

local i;

for i from 1 by 1 to n do   S(i)=L(i)^(2)-5*F(i)^(2);

print("%a",S(i));  end proc:

And Maple notice :error

I don't know call procedure inside another procedure.
Thank you so much

Regards

sunflower

## What is wrong with my program?...

Hello everyone!

Prime:= proc (a, b)

local i, p, r;

p := ();

r :=() ;

for i from a to b do

if isprime(i) then p := p union (i) end if;

if type(sqrt(p[i]-1), integer) then r := r union (p[i]) end if;

end do

end proc;

Prime(1, 10)

My English is not very good. I don't know what erros I get in my program. Thank everyone

## What is wrong with my code?...

f:=proc(x)
return 2^x
n:=5
M:=-2,-1,0,1,2
P:=1
for k to n+1 do
L:=1
for i to n+1 do
if i<>k then
L:=L*(x-M[i])/(M[k]-M[i]); end if; end do;
P:=P+f(M[k])*L;
end do;
I write Lagran algorithm. sorry, my english is not very good

## What's wrong with this code? ...

and why are there decimal points after certain numbers?

I'm taking 2nd semester calculus and in this maple lab, I can't seem to get Maple to evaluate this correctly. Any help is appreciated.

My friend did this and got the first constant, 392..., and just a2, so it was 392.07a2

## How to create plot in Maple?...

Hello all! How to create this plot in Maple?

## Calculus assignment...

I am doing a Calculus assignment and I can't find the commands for certain things.

1.Given the function f(x) = ((x+1)^2) / (1+x^2)

i) The domain of continuity of f(x)

ii) The intervals of increase and decrease of f(x) by using test points.

2. Use the IVT to prove existence of a root to the equation x^3 +10x^2 -100x +50=0 in the interval [-20,10]. Use again the IVT to show that there is a 1st root in [-17,-15], a 2nd toot in [0,1] and a 3rd root in [ 5,6]. Find or approximate those roots with Maple. (the bolded is what I need help).

## How to plot function using the solution of ODE?...

I want to plot E with respect to t.

I typed the sys of this equation and try to plot it with DEplot but failed.

This is the code

DEplot([sys], [x(t), y(t), E(t)], t = -25 .. 25, [[x(0) = -.3, y(0) = .2]], scene = [E(t), t], stepsize = 0.5e-1, linecolor = red, arrows = none);

The error is Error, (in DEtools/DEplot/CheckDE) derivatives must be given explicitly.