Startpunkten

This commit is contained in:
2026-03-05 13:40:46 +01:00
commit 5a47ec9ce8
5 changed files with 618 additions and 0 deletions

13
Matteprogram/header.h Normal file
View File

@@ -0,0 +1,13 @@
/*****************************************************/
/*HEADERFIL FÖR MATTEMANNEN */
/*****************************************************/
#include <iostream.h> //för in och utmatning
#include <string.h> //för strcmp()
#include <stdlib.h> //för atof()
#include <math.h> //för beräkningar
#include <conio.h> //för clrscr() och getch()
#define MAXGRAD 10 //maximal polynomgrad för Newton-Raphson
#define VARV 100 //max antal beräkningar Newton-Raphson gör
#define DIFF 0.01 //procentuell differans mellan x & xo i Newton-Raphson
#define BUFFERSIZE 100 //bufferstorlek för säker inmatning