Bessel function J_0

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Calculate Bessel function J_0(x) of given numbers,
and show result as printf "%f" format.

http://en.wikipedia.org/wiki/Bessel_function

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0

Sample output:

1.000000
0.997502
0.990025
0.977626
0.960398
0.938470
0.912005
0.881201
0.846287
0.807524
0.765198

Sample input:_

3.819176
5.030967
2.918276
4.107207
7.617838
7.329561
5.085694
5.738375
1.132820
4.855751
0.130405
1.943094
1.097853
6.433414
1.253433
3.207555
1.038324
0.870470
7.991396
1.746055

Sample output:

-0.402728
-0.167401
-0.231114
-0.387916
0.248725
0.285656
-0.149149
0.072270
0.704012
-0.223516
0.995753
0.256802
0.720632
0.249227
0.644152
-0.322151
0.748097
0.819355
0.173664
0.371321

Sample input:_

4.103459
6.712898
4.901119
2.368253
5.100418
4.194298
3.948664
7.782200
2.340134
6.170862
4.213960
6.159311
3.201829
7.132236
2.266518
2.819667
6.461796
7.352212
0.558042
7.594617
4.207963
0.688447
1.537711
5.305815
7.121861
2.791143
0.513371
0.160184
3.661614
0.504767

Sample output:

-0.388310
0.286270
-0.209386
0.019128
-0.144194
-0.377342
-0.400035
0.218962
0.034021
0.194860
-0.374588
0.192074
-0.320665
0.298087
0.073714
-0.193029
0.254011
0.283531
0.923649
0.252456
-0.375442
0.884974
0.490691
-0.073791
0.298431
-0.181394
0.935190
0.993596
-0.396858
0.937310

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid550.24972007/12/18 11:08:590B / 23B / 30B
2flagitious570.13712007/12/18 08:41:250B / 22B / 33B
3yvl700.14772007/12/31 04:39:330B / 32B / 38B
4ksk720.42242007/12/16 22:59:210B / 34B / 33B

Perl _

RankUserSizeTimeDateStatistics
1teebee560.04752011/10/17 07:48:160B / 22B / 33B
2ySas720.11162007/12/15 20:43:510B / 25B / 45B

Python _

RankUserSizeTimeDateStatistics
1leonid650.11182013/05/10 03:10:220B / 37B / 27B
2primo690.21682012/01/11 01:28:410B / 40B / 28B
3hallvabo710.16992010/11/26 08:36:510B / 38B / 32B
4Sven710.16552011/05/24 07:06:000B / 39B / 31B
5rolf720.19112013/02/05 04:40:580B / 39B / 32B
6kt3k730.25812007/12/16 16:30:220B / 40B / 32B
7hirose730.69822007/12/17 13:09:540B / 40B / 32B
8Hendrik1810.08462014/02/21 10:08:350B / 107B / 42B

PHP _

RankUserSizeTimeDateStatistics
1primo810.10762012/01/11 01:05:023B / 38B / 40B
2teebee860.13762012/01/05 23:19:413B / 38B / 45B

Scheme _

RankUserSizeTimeDateStatistics
1murky-satyr1410.11852011/04/08 13:52:230B / 55B / 65B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima500.37002007/12/16 00:00:120B / 30B / 18B

Io _

RankUserSizeTimeDateStatistics
1murky-satyr1042.71852008/05/28 20:27:490B / 74B / 24B
2pooq1902.55942008/05/27 00:26:010B / 115B / 63B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr740.07892007/12/16 15:36:050B / 43B / 31B
2nn740.00452010/03/03 21:44:530B / 43B / 31B
3teebee740.05292011/10/29 21:03:300B / 43B / 31B

Lua _

RankUserSizeTimeDateStatistics
1murky-satyr950.08112008/05/28 20:58:130B / 56B / 31B
2pooq1980.04192008/05/26 20:41:050B / 115B / 65B

Tcl _

RankUserSizeTimeDateStatistics
1murky-satyr1370.44812008/09/13 17:23:440B / 77B / 34B

Kite _

RankUserSizeTimeDateStatistics
1clock800.23432012/09/17 18:22:260B / 51B / 28B
2teebee830.13062012/07/08 04:26:100B / 56B / 26B
3murky-satyr960.46092008/10/22 03:57:140B / 67B / 28B
4leonid1060.36142008/10/19 04:15:180B / 78B / 28B

PARI/GP _

RankUserSizeTimeDateStatistics
1teebee410.05292013/01/02 09:53:520B / 27B / 14B
2clock410.06252013/01/02 20:07:150B / 27B / 14B
3Hendrik410.05042014/05/17 01:39:490B / 27B / 14B
4mitchs410.05182015/11/09 01:18:550B / 27B / 14B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr1290.73862008/07/13 10:08:290B / 78B / 46B

Forth _

RankUserSizeTimeDateStatistics
151b1660.04202008/05/23 20:25:570B / 105B / 18B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*740.08862013/01/15 18:21:030B / 45B / 26B
2pooq1620.18052008/05/27 00:49:160B / 93B / 49B

Erlang _

RankUserSizeTimeDateStatistics
151b1561.00782008/01/06 05:43:280B / 69B / 82B

J _

RankUserSizeTimeDateStatistics
1I., S.440.12012012/02/07 18:31:430B / 15B / 29B
2pooq690.45142008/08/15 04:14:530B / 29B / 39B

C _

RankUserSizeTimeDateStatistics
1letter600.07212007/12/15 17:10:530B / 33B / 26B
251b600.09742008/01/03 04:53:000B / 33B / 26B
3inaniwa600.00132009/11/25 21:41:310B / 33B / 26B
4hallvabo600.00212010/08/13 07:56:250B / 33B / 26B
5Reputeless600.03072011/02/08 10:58:500B / 33B / 26B
6teebee600.04082011/10/17 06:28:370B / 33B / 26B
7leonid600.03942012/02/08 05:36:590B / 33B / 26B
8Hendrik600.04382012/04/13 17:56:220B / 35B / 24B
9blahmoo600.03212013/02/23 08:28:010B / 33B / 26B
10mitchs600.03192014/02/01 07:06:210B / 35B / 24B
11llhuii600.03202014/11/23 03:39:450B / 33B / 26B

D _

RankUserSizeTimeDateStatistics
151b1030.08772008/02/12 18:59:390B / 67B / 31B

OCaml _

RankUserSizeTimeDateStatistics
1ksk1140.56662009/08/16 11:42:060B / 58B / 53B

Haskell _

RankUserSizeTimeDateStatistics
1henkma1000.03772014/02/21 19:13:320B / 63B / 34B
2rst761010.01012010/03/09 13:49:210B / 63B / 35B
3notogawa1020.07272008/04/28 21:13:590B / ?B / ?B
4Hendrik1100.03892014/02/21 09:37:120B / 67B / 39B

Java _

RankUserSizeTimeDateStatistics
1teebee1680.23922011/10/17 08:29:060B / 104B / 58B
2hallvabo1710.54132010/11/26 09:13:570B / 109B / 57B

Pascal _

RankUserSizeTimeDateStatistics
1teebee900.02612014/01/03 21:34:360B / 66B / 19B
2*yuko*970.03122014/05/15 18:58:270B / 73B / 19B
31020.02982013/01/15 18:16:550B / 69B / 27B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*700.04332011/11/10 00:39:230B / 40B / 29B
2pooq970.09582008/12/09 07:04:290B / 65B / 24B

C# _

RankUserSizeTimeDateStatistics
1*yuko*1550.20582014/05/12 00:37:590B / 100B / 50B
2teebee1600.21472012/10/29 11:16:310B / 101B / 54B

Maxima _

RankUserSizeTimeDateStatistics
1teebee610.36292012/10/28 12:29:110B / 30B / 29B
2clock610.35402012/10/28 13:36:030B / 30B / 29B
3pooq620.38662010/02/20 17:23:430B / 32B / 27B

Octave _

RankUserSizeTimeDateStatistics
1teebee360.67052013/02/24 08:04:140B / 23B / 13B
2Hendrik361.11192016/06/20 04:32:110B / 23B / 13B
3pooq370.69162011/10/16 02:46:240B / 22B / 15B
4inaniwa370.56702011/10/16 10:05:250B / 22B / 15B

Asymptote _

RankUserSizeTimeDateStatistics
1teebee450.35712011/12/21 06:10:330B / 27B / 16B

AWK _

RankUserSizeTimeDateStatistics
1nn540.06922008/08/10 21:04:410B / 26B / 27B
2teebee540.04162011/10/17 08:04:110B / 25B / 29B

jq _

RankUserSizeTimeDateStatistics
1teebee420.03532014/11/25 08:13:140B / 20B / 22B

Bash _

RankUserSizeTimeDateStatistics
1pooq590.21912010/02/20 16:50:210B / 35B / 15B

bc _

RankUserSizeTimeDateStatistics
1teebee990.06372014/02/10 09:47:120B / 47B / 51B
2Carlos Gutierrez1130.00812010/03/20 14:30:360B / 57B / 50B
351b1540.00772010/02/27 22:33:260B / 79B / 59B

Postscript _

RankUserSizeTimeDateStatistics
1yshl2611.13912008/05/12 22:10:14144B / 69B / 48B
2yshl(embed)(bin)3090.54732008/02/12 19:25:1288B / 174B / 47B
3ySas3110.53232007/12/24 23:17:06171B / 98B / 40B
4yshl(embed)4750.54792007/12/24 21:05:310B / 352B / 74B

R _

RankUserSizeTimeDateStatistics
1clock470.53452012/10/14 13:50:240B / 31B / 16B
2teebee470.56032012/10/14 16:22:560B / 31B / 16B
3ludo470.41892016/11/06 02:28:230B / 31B / 16B
4pooq483.66132008/04/13 20:43:280B / 30B / 18B
551b483.74692008/05/18 01:53:510B / 30B / 18B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs (cheat)3940.04982016/07/13 14:02:41141B / 96B / 157B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik640.15552014/05/16 21:30:560B / 26B / 38B

Vim _

RankUserSizeTimeDateStatistics
1clock(!!)650.17342011/12/06 02:43:488B / 34B / 20B
2nn1250.16822010/10/10 13:44:012B / 75B / 38B

goruby _

RankUserSizeTimeDateStatistics
1murky-satyr520.41882008/07/30 02:24:550B / 23B / 25B

Groovy _

RankUserSizeTimeDateStatistics
1teebee814.08712011/10/17 09:06:080B / 49B / 32B
2murky-satyr834.98932009/12/26 22:25:030B / 48B / 35B
3nn853.57812009/12/26 22:34:300B / 52B / 32B

Scala _

RankUserSizeTimeDateStatistics
1murky-satyr9123.42622011/04/08 04:04:521B / 52B / 32B

Logo _

RankUserSizeTimeDateStatistics
1teebee690.12802011/10/17 08:41:510B / 38B / 28B

Language Ranking_

RankLangUserSizeScore
1Octaveteebee3610000
2PARI/GPteebee418780
3jqteebee428571
4JI., S.448181
5Asymptoteteebee458000
6Rclock477659
7Common LISPkozima507200
8gorubymurky-satyr526923
9AWKnn546666
10Rubyleonid556545
11Perlteebee566428
12Bashpooq596101
13Cletter606000
14Maximateebee615901
15BurlesqueHendrik645625
16Vimclock(!!)655538
17Pythonleonid655538
18Logoteebee695217
19Fortran*yuko*705142
20JavaScriptmurky-satyr744864
21BASIC*yuko*744864
22Kiteclock804500
23Groovyteebee814444
24PHPprimo814444
25Pascalteebee904000
26Scalamurky-satyr913956
27Luamurky-satyr953789
28bcteebee993636
29Haskellhenkma1003600
30D51b1033495
31Iomurky-satyr1043461
32OCamlksk1143157
33Smalltalkmurky-satyr1292790
34Tclmurky-satyr1372627
35Schememurky-satyr1412553
36C#*yuko*1552322
37Erlang51b1562307
38Forth51b1662168
39Javateebee1682142
40Postscriptyshl2611379
41Brainfuckmitchs (cheat)394913

Referer

Note that, they may contain spoilers.

return top