Digi Area Group - Math Tools for Professionals
   Maple and Mathematica packages - math tools for professionals

atlas™ - modern differential geometry for Maple™

> Features List & Examples
> Template Worksheets
> Screenshots
> Documentation & Downloads
> License & Pricing
> Buy Online

 
 
 
 
Google

Features List & Examples  |  Introduction  |  Dimension  |  Indexing  |  Forms  |  Metric  |  atlasWizard - Maplet™

atlas[Constants] - declaration of constants

Calling Sequence:

     Constants(C1, C2, ..., Ci, ... , Cn)

Parameters:

      C1, C2, ..., Ci, ... , Cn  - constants identifiers

Description:

  • In the atlas  package any identifier is treated as 0-form  i.e. as non-constant scalar  (if it not declared as constant, p-form, tensor etc. (see atlas[types] )).
  • The Constants  procedure declares constants.
  • In the atlas  package constants are constant 0-forms.
  • Some constants are predefined such as Catalan, Pi, I  and _Z  (for RootOf  procedure)
  • Constant identifier can be symbol or indexed either.

Examples:
restart:
with(atlas):

Declare some constants:
Constants(lambda,alpha[1],C,c[k]);

{Catalan, I, _Z, Pi, C, alpha[1], c[k], lambda, -I}

Verify that C and c[k]  are constants using kind (see atlas[kind] ) and type procedures:
kind(C);

[0, 0]

type(C,const);

true

kind(c[i]);

[0, 0]

type(c[j],const);

true

type(c[3],const);

true

'd(Sum(c[i]*x[i],i=1..n))'=d(Sum(c[i]*x[i],i=1..n));

d(Sum(c[i]*x[i],i = 1 .. n)) = Sum(c[i]*d(x[i]),i = 1 .. n)

Verify that lambda is a constant using exterior derivative operator (see atlas[d] ):
'd(lambda)'=d(lambda);

d(lambda) = 0

Some more verifications:
'd(lambda*F+alpha[1]*G-Pi*S)'=d(lambda*F+alpha[1]*G-Pi*S);

d(lambda*F+alpha[1]*G-Pi*S) = lambda*d(F)+alpha[1]*d(G)-Pi*d(S)

As F, G, S was not declared as something thus they are nonconstant scalars (0-forms) by defaults:
'd(F*G)'=d(F*G);

d(F*G) = d(F)*G+F*d(G)

For better understanding (see atlas[Functions] ):
Functions(S=S(x,y),y=y(z));

{y, S}

Now S and y are functions:
'd(y)'=d(y);

d(y) = Diff(y,z)*d(z)

Obviously that:
'd(S)'=d(S);

d(S) = Diff(S,x)*d(x)+Diff(S,y)*Diff(y,z)*d(z)

And corresponding exterior product (see atlas[`&^`] ) is:
'd(S)&^d(y)'=d(S)&^d(y);

`&^`(d(S),d(y)) = -Diff(y,z)*Diff(S,x)*`&^`(d(z),d(x))

As n is 0-form   (just as x) then:  
'd(x^n)'=d(x^n);

d(x^n) = n*x^(n-1)*d(x)+x^n*ln(n)*d(n)

lambda  declared as a constant thus:
'd(x^lambda)'=d(x^lambda);

d(x^lambda) = lambda*x^(lambda-1)*d(x)

Let's see "who is who"
Who([S,F,lambda,x,y]);


S: function



F: 0 - form



lambda: constant



x: 0 - form



y: function


Who();

PIECEWISE([{}, Domains],[{}, Mappings],[{}, Tensors],[{}, Forms],[{Catalan, I, _Z, Pi, C, alpha[1], c[k], lambda, -I}, Constants],[{y, S}, Functions])

See Also:

atlas , atlas[Functions] , atlas[Forms] , atlas[Vectors] , atlas[Tensors] , atlas[d] , atlas[`&^`] , atlas[Who] .