Problem The following code is a solution to a Hackerrank problem in Haskell. Given a list of polynomial coeficients a […]
Tag: numerical-methods
Calculating pi to 7 significant figures without using Math.PI
Problem I need to calculate pi to 7 significant figures in Java—without using Math.PI. Here is the code I came […]
Java Pi Calculation using an Averaged-Leibniz formula
Problem While trying to discover a way to calculate the digits of Pi faster with the Leibniz formula for Pi, […]
Euler’s Method in C#
Problem I was just looking for some feedback for my c# program to run Euler’s method. I was just wondering […]
Implementation of Newton’s method of finding root of a function
Problem The following is an implementation of Newton’s method of finding root of a function. using System; using System.Drawing; using […]
Calculating Maclaurin series for sin(x)
Problem I’m very new to Haskell as was hoping to get some feedback on my code AND I have some […]
Monte Carlo pi animation
Problem I have created a program that calculates pi using a Monte Carlo method. It also animates the process and […]
Recursive calculation of second order derivative
Problem I am writing code to do some numerical task using the routines of the book Numerical Recipes. One of […]
A simple clusterness measure of data in one dimension using Java – follow-up
Problem (See the previous version here.) (See the next version here.) This time, I have incorporated all the suggestions made […]
Summation for π [closed]
Problem Closed. This question is off-topic. It is not currently accepting answers. Questions must involve real code that you own […]