.


:




:

































 

 

 

 


fortran' latex'





2011


1 Mathematica. 3

. 3

. 3

. 4

. 6

FORTRAN' LATEX'.. 7

2. . 10

. 10

. 11

. 12

. 13

3. . 21

. 21

.. 22

.. 23

.. 24

4. Mathematica. 28

. 28

. 28

. 29

. 30

. 30

5. . 34

Mathematica. 34

. 35

. 36

. 41


1 Mathematica

 

 

Mathematica - . . , , Shift + Enter. Shift + Enter , , - . , . . , .

 

Mathematica , , . , ( !) :

157!

(\) .

; :

, , 25 :

(I = J = - ) Mathematica:

[I 0.5]

 

 

Mathematica Front End, .

( " ").

Mathematica :

File -

Edit -

Cell -

Format -

Input -

Kernel -

Find -

Window -

Help -

 

1. File (New, Ctrl + N) (Open, Ctrl + O), (Save, Ctrl + S, Save As, Shift + Ctrl + S) (Save As Special), , TEX, HTML . Paletters , Printing Setting, Print (Ctrl + P) Print Selection (Shift + Ctrl + P) . Exit .

2. Edit , (Undo, Ctrl + Z), (Cut, Ctrl + X), (Copy, Ctrl + C), (Paste, Ctrl + V) (Clear, Del). , , (Copy As, Paste As, Save Selection As) (Selection All, Ctrl + A). Preferencts , .

3. Cell , Mathematica: , , .

4. Format (Font), (Face), (Size), (TextColor) (Background Color). , (Text Alignment Text Justification) , (Show Ruler, ToolBar, PageBreaks, Magnificftion).

5. Input . , (3D ViewPoint Selector), (Color Selector), (Get File Path), , (Create Table/Matrix/Palette), (Create Hyperlink) ..

6. Kernel . Evaluation (Evaluate Cell, Shift + Enter) (Evaluate Next Input, Shift + Enter . ., - , - ) (Evaluate Notebook). Interrupt Evaluation Abort Evaluation. Delete All Output ( ).

7. Find .

8. Window , . Stack Windows, Tile Windows Wide Tile Windows Tall .

9. Help Mathematica, 100 . (Getting Started/Demos), (The Mathematica Book), Mathematica (Build-in Function), (Add-ons), (Other Information) (Master Index).

Mathematica Other Information → Menu Commands, " " - Other Information → Keyboard Shortcuts → Microsoft Windows ( ).

 

, , .

. (). - , . Tab () Shift + Tab (). Ctrl + Space.

, Mathematica. , . .

Basic Input : , , , , , , , . , .

Basic Typesetting. , , , .

Complete Characters , Mathematica: (Greek), (Script), (Gotic), "" (Double-Struck), "" (Extended Latin) , "" (Letter-like Forms) (Operators). , , (, Script, Gotic, Double-Struck), .

Basic Calculation , , :

Arithmetic and Numbers - ;

Algebra - , , , ;

Lists and matrices - , ;

Trigonometric and Exponential Functions - ;

Calculus - , , , ;

Other Functions - ;

Graphics - .

Algebraic Manipulation , : , , . . , (Input) (Output) , , . ( ) .

International Characters , ( .).

Notebook Launcher , .

p File → Paletters.

Getting sterted/Demos → Demos → Paletter Demos

 

FORTRAN' LATEX'

 

Mathematica (, ) FORTRAN ,

LATEX' ( %% ):

(Clipboard) FORTRAN' , LATEX'.

 

:

 

1. :

( ) ( )
  +3!      
       
  *5!     -6!!  
       
       
      +3!  
  -4!!      

 

2. Latex Fortran:

 
 
 
 
 
 
 
 
 
 
 
 
 
 

2.

 

- . , , Mathematica , . , , Mathematica . , (, Script Gotic).

Mathematica :

1. Integer -

2. Rational - ,

3. Real -

4. Complex - , +*I, I= -

( , , ). , , :

I

, :

, , :

x .

: "+", "-", "*", "/". ( "*") , a^n.

Mathematica :

I=J - ,

Infinity = ∞ -

Pi=π -

Degree = º -

GoldenRatio -

E=e

EulerGamma -

Catalan -

Mathematica . ,

( - 30-). -

.

, , , :

, , :

, , :

 

. Mathematica , Sqrt[x], Exp[x], Log[x] ( ), Log[b,x] ( b), Sin[x], Cos[x], Tan[x], ArcSin[x], ArcCos[x], ArcTan[x], ,

LegendreP[n,x] -

HermiteH[n,x] -

BesselJ[n,z], BasselY[n,z] -

Gamma[z] - -

Built-in Functions → Mathematical Functions. , .

:

.

f , :

,

 

(List) . , :

:

, ..

Mathematica . , Table[f,{i,m},{j,n}] f[i,j] i=1, , m j=1, , n:

, . , ,

: ()

( Basic Input )

,

MatrixForm, :

- :

 

 

Mathematica (expression). h[e1,e2, ], h (head), e1,e2, - . , . Mathematica: , (, , ) Mathematica . FullForm[expr]:

Head:

( ) , , .

Mathematica : , , , .

:

x

Mathematica

x

Expand[poly]

Factor[poly] - , .. :

FactorTerms ,

-

Mathematica . , ,

-

Coefficient[poly,x,n] n- x poly:

Mathematica . , t

,

ExpandAll , :

Mathematica

, :

Cancel :

Cancel[u]

Mathematica Simplify[expr,assume] , :

assume, , , .

, ( ) , FullSimplify[expr,assume]

Mathematica , , . x:

(/.->) y:

, y

( "%" )

Mathematica , :

:

 

1. , :

       
       
         
         

 

2. , , , :

   
   
   
   
   
   
   

 

3. b, =*a:

b b
  a=[0.5 3.7 6.0] b=[3.6 7.0 7.1]   a=[6.6 -5.0 -2.7] b=[7.1 4.2 1.3]
  a=[-4.8 -1.3 -1.0] b=[-1.1 -1.9 7.1]   a=[-1.9 0.4 1.8] b=[1.2 -1.2 3.4]
  a=[1.0 -3.9 -2.3] b=[3.5 6.1 -2.8]   a=[-4.0 -2.3 -4.4] b=[7.1 5.4 2.6]
  a=[-2.4 3.3 -0.1] b=[7.1 1.1 3.5]   a=[4.0 5.8.4.3] b=[4.8 -5.2 7.4]
  a=[8.4 -5.9 -6.5] b=[1.1 1.2 -6.3]   a=[3.8 1.9 1.1] b=[-8.1 5.5 -6.2]
  a=[5.3 6.8 -7.1] b=[-4.5 -3.3 9.0]   a=[-7.1 6.8 -4.0] b=[5.1 0.9 -4.0]
  a=[1.2 -4.1 -0.8] b=[3.1 4.8 -5.2]   a=[0.4 1.8 4.2] b=[1.9 -4.4 9.2]

 

4. :

   
   
   
   
   
   
   

 

5. :

   
   
   
   
   
   
   

 

6. :

   
   
   
   
   
   
   

 

7. :

1. 8.
2. 9.
3. 10.
4. 11.
5. 12.
6. 13.
7. 14.

 

8. f(x), x=2,9:

       
       
         
         

3.

 

 

, D[] . -. - , :

, :

, ( ):

, :

NonConstants→{} , , :

Dt[f]

Out- Dt[x] Dt[y] dx dy.

 





:


: 2015-11-23; !; : 419 |


:

:

.
==> ...

1711 - | 1497 -


© 2015-2024 lektsii.org - -

: 0.18 .