Adri van der Meer

Adri vanderMeer

1350 Reputation

18 Badges

14 years, 185 days
University of Twente (retired)
Enschede, Netherlands

My "website" consists of a Maple Manual in Dutch

MaplePrimes Activity


These are answers submitted by Adri van der Meer

Int is the inert form, and int the active form. If f is not defined, then the active form is unevaluated:

restart;

int(f(t),t);

int(f(t), t)

(1)

f := x -> x^2:

int(f(t),t);

(1/3)*t^3

(2)

Int(f(t),t); value(%);

Int(t^2, t)

 

(1/3)*t^3

(3)

 

The ranges of x- and y-values can be obtained by

p := plot(x*sin(x), x=0..Pi):
plottools:-getdata(p)[2];
     [0. .. 3.14159265044999980, 0. .. 1.81963128310659839]

eq1:=x^2-y^2=a*z^2:
eq2:=x-y=a*z:
simplify(eq1/eq2);

(note that your answer is wrong)

It is not clear what rectangle you want to plot. For example, if you know the edges:

plots:-pointplot3d( [[0,0,0],[1,1,0],[1,1,1],[0,0,1],[0,0,0]], connect=true, color=black, axes=normal );

f:=x->x^2 -3*x + 2; D(f)(x);

i.e: ":=" instead of ":"

"3*x" instead of "3x"

";" (or ":") instead of ","

You forgot a multiplication sign: 3*(2*x-1)*(x+1) > 0;

There ara many, many roots. If I set view=-1..1 in the plot command, I get

and, for example:

Digits := 30: G[0] := 0:
for k to 4 while G[k-1]<10000 do        
G[k]:= RootFinding:-NextZero(K, G[k-1], maxdistance= 10000, guardDigits= 3)  od;
              0.000593466734563716148722323594000
               0.00755337183456371614872232359400
               0.0292055307345637161487223235940
              -0.000788904965436283851277676405000

 

 

num_n := dsolve({c_i1, c_i2, Ecuacion_1, Ecuacion_2}, numeric, method = classical[rk4], {u(x), v(x)}, stepsize = .1, output=listprocedure);

U := subs( num_n, u(x) );

I think that Maple hasn't paid much attention to the LaTeX export possibility for the last versions. And even before, rather much finetuning by hand was needed, e.g. breaking large formulas over several lunes, spacing, etc.

Also 2D-Math input doesn't work very well, so use Maple Input instead.

BTW: you can upload a *.tex file if you change the extension to >txt

The variable res is a list of procedures, not a table or an array. Perhaps you want to convert res to a sequence:

op(res)

But if you want to use the results, for example f1(x):

F1 := subs( res, f1(x) ):
plot(F1, 0..1 );

or

O2 := subs( res, omega2 ):
O2(0), O2(1);
     3.973052426735284, 3.9730524267352827

W:=expand(convert(rhs(b1),polynom));

Try

evalc~(Re~(A));

(1) use " instead of ', e.g

   RETURN ("Input is NOT a Lie algebra (',i,i,k,')=",A[i,i,k], "is not zero"); 

 

(2)

for l from 1 by 1 to n do

(you have the number "one" instead of letter l )

(edited)

flist := [0.1,0.2,2,3,3.5,6]:
xlist := [1,2,3,4,5,6]:
add( (xlist[i]-xlist[i-1])*flist[i]*(xlist[i]^2-1), i=2..6 );
                             355.6

or


add( (xlist[i+1]-xlist[i])*flist[i]*(xlist[i]^2-1), i=1..5 );
                             145.6



a2:=(18*d^2*R^2*r-4*d1^3*r+5*R^6-z1*r^3*p-14*r1^3*r*rc+k1*d^2*R^2*r);
select(hastype,[op(a2)],negint); a3 := add(i,i=%);
a4 := a2-a3;


3 4 5 6 7 8 9 Last Page 5 of 27