Palm MP

Palm MP

5 Reputation

One Badge

5 years, 298 days

MaplePrimes Activity


These are questions asked by Palm MP

For example, if I have a function

f:=x->x^3-2x

I want to created csv file containing coordinates of points of the function

(1,...), (1.1,...),...

 

How to do it?

 

I want to convert the coordinates to csv file and use this file in originpro to plot a graph that is more beautiful than that of Maple.

I want to plot the graph of the function as seen below but I have the error. Please help me.


restart;

a := 5;
b := 2;
u := 3;
v := 4;
A := 1;
B := 2;

In := (n, delta) -> Pi*a*((delta + a)^(2 - 2*n) + (delta - a)^(2 - 2*n))/(delta*(1 - n));

Jn := (n, delta) -> 1/2*(((delta + a)^2 - b^2)^(1 - n) - ((a - delta)^2 - b^2)^(1 - n))/(a*delta);

E1 := delta -> -u*A*In(3, delta) + u*B*In(6, delta);

E2 := delta -> -8*Pi^2*a^2*b^2*u*v*A*(Jn(3, delta) + 2*b^2*Jn(4, delta)) + 8/5*Pi^2*a^2*b^2*u*v*B*(5*Jn(6, delta) + 80*b^2*Jn(7, delta) + 336*b^4*Jn(8, delta) + 512*b^6*Jn(9, delta) + 256*b^8*Jn(10, delta));

Et(delta):= delta -> E1(delta) + E2(delta);
 
plot(Et(delta), delta = 16 .. 28);
 

 

Page 1 of 1