Code Monkey home page Code Monkey logo

basic-numerical-analysis-homework's Introduction

数値解析(基礎の基礎)

実行結果

# ❯ ./01-exe 
2.000000
1.000000
3.000000
4.000000

#❯ ./02-exe 
x0 = 2.157890
x1 = 2.105259
x2 = 3.263155
x3 = 3.947366
x4 = 3.526314

#❯ ./03-exe 
λ=2.723532

#❯ ./04-exe  
x=1.414214

#❯ ./05-exe 
y = -51.100000 + 49.500000x

実行結果(後半)

#❯ ./06-exe
n=   2,s=1.208333,d=0.515186
n=   4,s=0.947024,d=0.253877
n=   8,s=0.819122,d=0.125975
n=  16,s=0.755891,d=0.062744
n=  32,s=0.724458,d=0.031311
n=  64,s=0.708787,d=0.015640
n= 128,s=0.700963,d=0.007816
n= 256,s=0.697054,d=0.003907
n= 512,s=0.695101,d=0.001953
n=1024,s=0.694124,d=0.000977

#❯ ./07-exe 
n=   2,s=0.772222,d=0.079075
n=   4,s=0.749363,d=0.056215
n=   8,s=0.740123,d=0.046976
n=  16,s=0.736073,d=0.042926
n=  32,s=0.734193,d=0.041045
n=  64,s=0.733288,d=0.040141
n= 128,s=0.732845,d=0.039698
n= 256,s=0.732626,d=0.039479
n= 512,s=0.732517,d=0.039370
n=1024,s=0.732462,d=0.039315

#❯ ./08-exe 
n=   2, x=2.000000, y=5.000000
n=   4, x=2.000000, y=7.125000
n=   8, x=2.000000, y=8.920929
n=  16, x=2.000000, y=10.166500
n=  32, x=2.000000, y=10.917334
n=  64, x=2.000000, y=11.332552
n= 128, x=2.000000, y=11.551340
n= 256, x=2.000000, y=11.663701
n= 512, x=2.000000, y=11.720647
n=1024, x=2.000000, y=11.749314

#❯ ./09-exe 
n=    2, x=2.000000, y=11.670139
n=    4, x=2.000000, y=11.767941
n=    8, x=2.000000, y=11.777331
n=   16, x=2.000000, y=11.778058
n=   32, x=2.000000, y=11.778109
n=   64, x=2.000000, y=11.778112
n=  128, x=2.000000, y=11.778112
n=  256, x=2.000000, y=11.778112
n=  512, x=2.000000, y=11.778112
n= 1024, x=2.000000, y=11.778112

#❯ ./10-exe
  5000 1.007573
 10000 1.007857
 15000 1.006433
 20000 1.005857
 25000 1.004588
 30000 1.004598
 35000 1.004479
 40000 1.003077
 45000 1.002831
 50000 1.002952
 55000 1.002486
 60000 1.001241
 65000 1.001587
 70000 1.001820
 75000 1.001463
 80000 1.001228
 85000 1.000784
 90000 1.001017
 95000 1.000732
100000 1.000768

basic-numerical-analysis-homework's People

Contributors

quietsato avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.