Skip to content

Latest commit

 

History

History
31 lines (30 loc) · 1.45 KB

README.md

File metadata and controls

31 lines (30 loc) · 1.45 KB

Matika

is an experimental mathematics interpreter

>>> f(x) = 2.25sin(0.507(x - 1.25)) + 3.95
>>> f(10)
1.7852406047118041
>>> plot(f)
   ⣀⠤⠒⠉⠢⢄                     ⡁         ⢀⠔⠉⠑⠒⡄                6.2
 ⢀⠎      ⢣                    ⠄        ⡔⠁    ⠈⢢              
⢀⠎        ⢣                   ⠂       ⡜        ⠑⡄            
⠎          ⠣⡀                 ⡁      ⡜          ⠱⡀           
            ⢣                 ⠄     ⡜            ⠱⡀          
             ⢣                ⠂    ⡜              ⠱⡀         
             ⠈⢆               ⡁   ⡰⠁               ⢣         
              ⠈⡆              ⠄  ⢠⠃                 ⢇        
               ⠘⡄             ⠂ ⢀⠇                  ⠈⡆       
                ⠱⡀            ⡁⢀⠎                    ⠘⡄      
                 ⢣            ⠄⡜                      ⠱⡀     
                  ⢣           ⡞                        ⠱⡀    
                   ⢣         ⡔⡁                         ⠱⡀   
                    ⠣⣀     ⢀⠎ ⠄                              
                      ⠑⢄ ⣀⠤⠃  ⠂                              
                        ⠉     ⠁                               1.7
-10.0                                                    10.0
>>> g(x) = pi() + f(x)
>>> g(10)
4.926833258301597
>>> f(g(20))
4.556088638964779