Skip to content

Instantly share code, notes, and snippets.

//CountLT.cpp
//Aryelle Young
//Sep 23 2014
//Defines the CountLT class
#include "CountLT.h"
//Default Constructor
//takes a value from client code to use as initial bound
CountLT::CountLT(double bound) : the_bound(bound), count(0)
@bemasher
bemasher / laplace.cpp
Created November 19, 2010 05:22 — forked from alexg228/laplace
#include <stdio.h>
#include <iostream>
#include <math.h>
using namespace std;
int main(void) {
FILE * fp5;
int Max(11);
double V[20000];
double diff(1.0);
/* LOGISTIC EQUATION */
#include <stdio.h>
#include <math.h>
int main()
{
FILE *fp;
int i;
int k;
#include <iostream>
#include <math.h>
using namespace std;
// declare functions
int prime(int n);
int main() {
int n1;
int i;
bool isprime;