This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <math.h> | |
const unsigned int N = 100; | |
const double MIN = 1; | |
const double MAX = 10; | |
const double EXPONENT = 2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set terminal postscript enhanced eps dashed color "NimbusRomNo9L-Regu" 17 fontfile '/usr/share/texmf-texlive/fonts/type1/public/txfonts/txsy.pfb' fontfile '/usr/share/texmf-texlive/fonts/type1/public/txfonts/rtxmi.pfb' | |
set xrange [0:1] | |
set yrange [0:1] | |
set lmargin 0 | |
set tmargin 0 | |
set bmargin 0 | |
set rmargin 0 | |
unset xtics | |
unset ytics |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(int arc, char **argv) { | |
double a[2]; | |
unsigned int i = 1; | |
a[i] = 1.0; | |
printf("Value after a[i] = 1.0: %lf\n", a[i]); |