#include <stdio.h>
#include <iostream.h>
#include <strstream.h>
#include <fstream.h>
#include <math.h>
#include <stdlib.h>
int main(){
  
  ofstream outf("data.dat");
  ofstream outf2("data2.dat");
  doulbe a=0.3;

 int NUM=200;//as requested
  double STORAGE[NUM];
  double x=-1.4;
  STORAGE[0]=x;
  for(int i=1; i<200; i++){
    STORAGE[i]=a-sqrt(sqrt(x*x));
    x = STORAGE[i];
  }
  outf<<STORAGE[0]<<"\t"<<-2.00<<"\n";
  outf<<STORAGE[0]<<"\t"<<STORAGE[1]<<"\n";
  for(int i=0; i<199;i++){
      outf<<STORAGE[i]<<"\t"<<STORAGE[i+1]<<"\n";
      outf<<STORAGE[i+1]<<"\t"<<STORAGE[i+1]<<"\n";}

}  
