Bladeren bron

+ Added example 4

michael 25 jaren geleden
bovenliggende
commit
89c8550cc7
3 gewijzigde bestanden met toevoegingen van 12 en 1 verwijderingen
  1. 1 1
      docs/mathex/Makefile
  2. 1 0
      docs/mathex/README
  3. 10 0
      docs/mathex/ex4.pp

+ 1 - 1
docs/mathex/Makefile

@@ -32,7 +32,7 @@ endif
 
 
 .PHONY: all tex clean
 .PHONY: all tex clean
 
 
-OBJECTS=ex1 ex2 ex3
+OBJECTS=ex1 ex2 ex3 ex4
 
 
 TEXOBJECTS=$(addsuffix .tex, $(OBJECTS))
 TEXOBJECTS=$(addsuffix .tex, $(OBJECTS))
 
 

+ 1 - 0
docs/mathex/README

@@ -6,3 +6,4 @@ Example programs
 ex1.pp contains an example of the arccos function.
 ex1.pp contains an example of the arccos function.
 ex2.pp contains an example of the arcsin function.
 ex2.pp contains an example of the arcsin function.
 ex3.pp contains an example of the arcosh function.
 ex3.pp contains an example of the arcosh function.
+ex4.pp contains an example of the arsinh function.

+ 10 - 0
docs/mathex/ex4.pp

@@ -0,0 +1,10 @@
+Program Example4;
+
+{ Program to demonstrate the arsinh function. }
+
+Uses math;
+
+begin
+//  Writeln(arsinh(0));
+  Writeln(arsinh(1));
+end.