Previous |  Up |  Next

Chapter

Chapter title: Výpočty hodnot goniometrických funkcí (Czech)
Chapter title: Computations of values of goniometric functions (English)
Author: Halas, Zdeněk
Language: Czech
Monograph: Matematika v proměnách věků. VI
Year: 2010
Publisher:
Place:
Pages: 121-140
.
Category: math
.
MSC: 01A20
MSC: 01A30
.
Date available: 2012-02-16T11:00:22Z
Stable URL: http://hdl.handle.net/10338.dmlcz/401732
.
Reference: #include<stdio.h> main() { double x=1, y=0, t=10, a=0, int i=0, double alfa[9], alfa[0] = 0.7853981633974483096156608, //arctg(1) alfa[1] = 0.09966865249116202737844612, //arctg(1/10) alfa[2] = 0.009999666686665238206340116: arctg(1/100) alfa[3] = 0.0009999996666668666665238096; alfa[4] = 0.00009999999966666666866666665; alfa[5] = 0.000009999999999666666666686667; alfa[6] = 0.0000009999999999996666666666669; alfa[7] = 0.00000009999999999999966666666667; alfa[8] = 0.000000009999999999999999666666667; printf("Pocitame tangens; velikost uhlu (v rad): scanf("%lf", &a); double uhel=a; for (i=0; i<9; i++) { t=t/10; while (a { a = a x = x y = y } }.tisk výsledku: printf("\ntg %g = \t %.12g \n", uhel, y/x); } >= alfa[i]) - alfa[i]; - t*y; + t*(x+t*y); ");
.

Files

Files Size Format View
DejinyMat_45-2010-1_7.pdf 1.354Mb application/pdf View/Open
Back to standard record
Partner of
EuDML logo