need tomorrow due in 15 hours

profileBebo23
Labcurvev2.zip

Lab curve v2/DataForCurveFit17C (1).ods

Linear Data

wtih Noise

Independent Variable

y=mx+b

Column G

Y1

DataCreation.J16:DataCreation.J16

Y1 with Noise

  • Y1

  • with Noise

DataCreation.K15:DataCreation.K16

1

10

DataCreation.G17:DataCreation.G116

12

DataCreation.J17:DataCreation.J116

16.6512478264049

DataCreation.K17:DataCreation.K116

2

20

22

1.94938680203632

3

30

32

30.2686200644821

4

40

42

64.1807345747948

5

50

52

44.7071373327635

6

60

62

68.4778224681504

7

70

72

68.3483713334426

8

80

82

77.7142953528091

9

90

92

87.6739521119744

10

100

102

84.4951765593141

11

110

112

115.281091689132

12

120

122

104.85743186716

13

130

132

147.664121753071

14

140

142

136.594230735675

15

150

152

167.694618364796

16

160

162

143.08804175863

17

170

172

192.058107667137

18

180

182

205.028984037228

19

190

192

172.218449712265

20

200

202

225.417753854301

21

210

212

201.47951834416

22

220

222

242.556245371699

23

230

232

253.695017640013

24

240

242

237.999704254791

25

250

252

273.540746523533

26

260

262

267.266921652947

27

270

272

269.354901127983

28

280

282

278.460258029401

29

290

292

306.872501196805

30

300

302

293.320856637321

31

310

312

318.235826341435

32

320

322

334.296044779941

33

330

332

308.901874109171

34

340

342

329.569920590613

35

350

352

346.358115980867

36

360

362

369.082558353432

37

370

372

379.650023500901

38

380

382

393.417773342691

39

390

392

415.287650872953

40

400

402

422.169156685006

41

410

412

400.075785466936

42

420

422

423.569413638208

43

430

432

436.125010850839

44

440

442

432.055658493657

45

450

452

459.743915671017

46

460

462

464.433016512077

47

470

472

488.071189299691

48

480

482

491.560534497723

49

490

492

507.005415526684

50

500

502

518.112569149118

51

510

512

527.716714749578

52

520

522

519.231404180639

53

530

532

532.100138341077

54

540

542

559.762969981413

55

550

552

552.014824548271

56

560

562

566.967811773531

57

570

572

567.010589563753

58

580

582

591.689381474163

59

590

592

581.205212751403

60

600

602

625.41900273459

61

610

612

621.40081551671

62

620

622

605.535243023653

63

630

632

619.669280928094

64

640

642

645.560891479719

65

650

652

674.838188661262

66

660

662

638.60571684828

67

670

672

682.420964704826

68

680

682

670.048645365052

69

690

692

685.514723470435

70

700

702

702.563888589386

71

710

712

723.496649251785

72

720

722

723.529770321213

73

730

732

718.453594220802

74

740

742

740.059399740305

75

750

752

739.884328374639

76

760

762

757.815683866385

77

770

772

760.611226563808

78

780

782

778.871937892865

79

790

792

791.372246523853

80

800

802

799.603008453734

81

810

812

806.079748273361

82

820

822

823.955600024667

83

830

832

821.893603243399

84

840

842

852.88527838001

85

850

852

873.378297696356

86

860

862

883.780148753896

87

870

872

885.988956925459

88

880

882

862.580094270408

89

890

892

908.960545827169

90

900

902

898.729686064646

91

910

912

892.186257953756

92

920

922

903.444340571761

93

930

932

926.134965108242

94

940

942

938.084395225626

95

950

952

942.45335262781

96

960

962

945.430194039829

97

970

972

963.841028199997

98

980

982

966.959315194283

99

990

992

968.153265545145

100

1000

1002

1014.90016871644

Curve Fit the Following Data with and without Noise for these 3 Functions

Coefficient

Function Y1

Coefficient

Function Y2

Coefficient

Function Y3

1

X^1

3

X^2

6

X^2

2

X^0

4

X^1

7

X*log2(X)

5

X^0

8

X^1

9

X^(1/2)

10

log2(x)

11

X^0

Y1

Y2

Y3

Data Points

Noise+-1

X^0

log2(X)

X^(1/2)

X

Xlog2X

X^2

Y1

with Noise

Y2

with Noise

Y3

with Noise

1

4.65

1.00

3.32

3.16

10.00

33.22

100.00

12.00

16.65

345.00

9647.50

985.21

989.87

2

-20.05

1.00

4.32

4.47

20.00

86.44

400.00

22.00

1.95

1285.00

-38816.23

3259.54

3239.49

3

-1.73

1.00

4.91

5.48

30.00

147.21

900.00

32.00

30.27

2825.00

-637.76

6779.81

6778.08

4

22.18

1.00

5.32

6.32

40.00

212.88

1600.00

42.00

64.18

4965.00

49326.47

11531.28

11553.46

5

-7.29

1.00

5.64

7.07

50.00

282.19

2500.00

52.00

44.71

7705.00

-6880.73

17506.43

17499.13

6

6.48

1.00

5.91

7.75

60.00

354.41

3600.00

62.00

68.48

11045.00

24000.64

24700.68

24707.15

7

-3.65

1.00

6.13

8.37

70.00

429.05

4900.00

72.00

68.35

14985.00

7681.74

33110.94

33107.29

8

-4.29

1.00

6.32

8.94

80.00

505.75

6400.00

82.00

77.71

19525.00

10953.59

42735.00

42730.71

9

-4.33

1.00

6.49

9.49

90.00

584.27

8100.00

92.00

87.67

24665.00

16012.90

53571.17

53566.84

10

-17.50

1.00

6.64

10.00

100.00

664.39

10000.00

102.00

84.50

30405.00

-4604.65

65618.14

65600.63

11

3.28

1.00

6.78

10.49

110.00

745.95

12100.00

112.00

115.28

36745.00

43307.18

78874.85

78878.13

12

-17.14

1.00

6.91

10.95

120.00

828.83

14400.00

122.00

104.86

43685.00

9399.86

93340.45

93323.30

13

15.66

1.00

7.02

11.40

130.00

912.91

16900.00

132.00

147.66

51225.00

82553.24

109014.19

109029.86

14

-5.41

1.00

7.13

11.83

140.00

998.10

19600.00

142.00

136.59

59365.00

48553.46

125895.48

125890.07

15

15.69

1.00

7.23

12.25

150.00

1084.32

22500.00

152.00

167.69

68105.00

99494.24

143983.77

143999.47

16

-18.91

1.00

7.32

12.65

160.00

1171.51

25600.00

162.00

143.09

77445.00

39621.08

163278.62

163259.71

17

20.06

1.00

7.41

13.04

170.00

1259.60

28900.00

172.00

192.06

87385.00

127501.22

183779.61

183799.67

18

23.03

1.00

7.49

13.42

180.00

1348.53

32400.00

182.00

205.03

97925.00

143982.97

205486.40

205509.43

19

-19.78

1.00

7.57

13.78

190.00

1438.27

36100.00

192.00

172.22

109065.00

69501.90

228398.66

228378.88

20

23.42

1.00

7.64

14.14

200.00

1528.77

40000.00

202.00

225.42

120805.00

167640.51

252516.12

252539.53

21

-10.52

1.00

7.71

14.49

210.00

1619.99

44100.00

212.00

201.48

133145.00

112104.04

277838.51

277827.99

22

20.56

1.00

7.78

14.83

220.00

1711.90

48400.00

222.00

242.56

146085.00

187197.49

304365.60

304386.16

23

21.70

1.00

7.85

15.17

230.00

1804.46

52900.00

232.00

253.70

159625.00

203015.04

332097.19

332118.88

24

-4.00

1.00

7.91

15.49

240.00

1897.65

57600.00

242.00

238.00

173765.00

165764.41

361033.07

361029.07

25

21.54

1.00

7.97

15.81

250.00

1991.45

62500.00

252.00

273.54

188505.00

231586.49

391173.08

391194.62

26

5.27

1.00

8.02

16.12

260.00

2085.82

67600.00

262.00

267.27

203845.00

214378.84

422517.05

422522.32

27

-2.65

1.00

8.08

16.43

270.00

2180.74

72900.00

272.00

269.35

219785.00

214494.80

455064.83

455062.19

28

-3.54

1.00

8.13

16.73

280.00

2276.20

78400.00

282.00

278.46

236325.00

229245.52

488816.29

488812.75

29

14.87

1.00

8.18

17.03

290.00

2372.17

84100.00

292.00

306.87

253465.00

283210.00

523771.28

523786.15

30

-8.68

1.00

8.23

17.32

300.00

2468.65

90000.00

302.00

293.32

271205.00

253846.71

559929.69

559921.01

31

6.24

1.00

8.28

17.61

310.00

2565.60

96100.00

312.00

318.24

289545.00

302016.65

597291.41

597297.65

32

12.30

1.00

8.32

17.89

320.00

2663.02

102400.00

322.00

334.30

308485.00

333077.09

635856.34

635868.63

33

-23.10

1.00

8.37

18.17

330.00

2760.89

108900.00

332.00

308.90

328025.00

281828.75

675624.36

675601.26

34

-12.43

1.00

8.41

18.44

340.00

2859.19

115600.00

342.00

329.57

348165.00

323304.84

716595.40

716582.97

35

-5.64

1.00

8.45

18.71

350.00

2957.92

122500.00

352.00

346.36

368905.00

357621.23

758769.35

758763.71

36

7.08

1.00

8.49

18.97

360.00

3057.07

129600.00

362.00

369.08

390245.00

404410.12

802146.15

802153.23

37

7.65

1.00

8.53

19.24

370.00

3156.61

136900.00

372.00

379.65

412185.00

427485.05

846725.71

846733.36

38

11.42

1.00

8.57

19.49

380.00

3256.55

144400.00

382.00

393.42

434725.00

457560.55

892507.96

892519.37

39

23.29

1.00

8.61

19.75

390.00

3356.86

152100.00

392.00

415.29

457865.00

504440.30

939492.82

939516.11

40

20.17

1.00

8.64

20.00

400.00

3457.54

160000.00

402.00

422.17

481605.00

521943.31

987680.24

987700.41

41

-11.92

1.00

8.68

20.25

410.00

3558.59

168100.00

412.00

400.08

505945.00

482096.57

1037070.14

1037058.21

42

1.57

1.00

8.71

20.49

420.00

3659.98

176400.00

422.00

423.57

530885.00

534023.83

1087662.47

1087664.04

43

4.13

1.00

8.75

20.74

430.00

3761.72

184900.00

432.00

436.13

556425.00

564675.02

1139457.17

1139461.30

44

-9.94

1.00

8.78

20.98

440.00

3863.80

193600.00

442.00

432.06

582565.00

562676.32

1192454.19

1192444.24

45

7.74

1.00

8.81

21.21

450.00

3966.20

202500.00

452.00

459.74

609305.00

624792.83

1246653.47

1246661.21

46

2.43

1.00

8.85

21.45

460.00

4068.93

211600.00

462.00

464.43

636645.00

641511.03

1302054.96

1302057.39

47

16.07

1.00

8.88

21.68

470.00

4171.96

220900.00

472.00

488.07

664585.00

696727.38

1358658.62

1358674.69

48

9.56

1.00

8.91

21.91

480.00

4275.31

230400.00

482.00

491.56

693125.00

712246.07

1416464.40

1416473.96

49

15.01

1.00

8.94

22.14

490.00

4378.95

240100.00

492.00

507.01

722265.00

752275.83

1475472.26

1475487.26

50

16.11

1.00

8.97

22.36

500.00

4482.89

250000.00

502.00

518.11

752005.00

784230.14

1535682.15

1535698.26

51

15.72

1.00

8.99

22.58

510.00

4587.12

260100.00

512.00

527.72

782345.00

813778.43

1597094.03

1597109.75

52

-2.77

1.00

9.02

22.80

520.00

4691.63

270400.00

522.00

519.23

813285.00

807747.81

1659707.87

1659705.11

53

0.10

1.00

9.05

23.02

530.00

4796.42

280900.00

532.00

532.10

844825.00

845025.28

1723523.63

1723523.73

54

17.76

1.00

9.08

23.24

540.00

4901.48

291600.00

542.00

559.76

876965.00

912490.94

1788541.27

1788559.04

55

0.01

1.00

9.10

23.45

550.00

5006.81

302500.00

552.00

552.01

909705.00

909734.65

1854760.76

1854760.77

56

4.97

1.00

9.13

23.66

560.00

5112.40

313600.00

562.00

566.97

943045.00

952980.62

1922182.06

1922187.03

57

-4.99

1.00

9.15

23.87

570.00

5218.25

324900.00

572.00

567.01

976985.00

967006.18

1990805.14

1990800.16

58

9.69

1.00

9.18

24.08

580.00

5324.35

336400.00

582.00

591.69

1011525.00

1030903.76

2060629.98

2060639.67

59

-10.79

1.00

9.20

24.29

590.00

5430.70

348100.00

592.00

581.21

1046665.00

1025075.43

2131656.53

2131645.74

60

23.42

1.00

9.23

24.49

600.00

5537.29

360000.00

602.00

625.42

1082405.00

1129243.01

2203884.78

2203908.20

61

9.40

1.00

9.25

24.70

610.00

5644.13

372100.00

612.00

621.40

1118745.00

1137546.63

2277314.69

2277324.09

62

-16.46

1.00

9.28

24.90

620.00

5751.20

384400.00

622.00

605.54

1155685.00

1122755.49

2351946.24

2351929.77

63

-12.33

1.00

9.30

25.10

630.00

5858.50

396900.00

632.00

619.67

1193225.00

1168563.56

2427779.40

2427767.07

64

3.56

1.00

9.32

25.30

640.00

5966.03

409600.00

642.00

645.56

1231365.00

1238486.78

2504814.14

2504817.70

65

22.84

1.00

9.34

25.50

650.00

6073.79

422500.00

652.00

674.84

1270105.00

1315781.38

2583050.45

2583073.28

66

-23.39

1.00

9.37

25.69

660.00

6181.77

435600.00

662.00

638.61

1309445.00

1262656.43

2662488.29

2662464.89

67

10.42

1.00

9.39

25.88

670.00

6289.97

448900.00

672.00

682.42

1349385.00

1370226.93

2743127.64

2743138.06

68

-11.95

1.00

9.41

26.08

680.00

6398.39

462400.00

682.00

670.05

1389925.00

1366022.29

2824968.49

2824956.53

69

-6.49

1.00

9.43

26.27

690.00

6507.01

476100.00

692.00

685.51

1431065.00

1418094.45

2908010.80

2908004.32

70

0.56

1.00

9.45

26.46

700.00

6615.85

490000.00

702.00

702.56

1472805.00

1473932.78

2992254.56

2992255.13

71

11.50

1.00

9.47

26.65

710.00

6724.89

504100.00

712.00

723.50

1515145.00

1538138.30

3077699.75

3077711.25

72

1.53

1.00

9.49

26.83

720.00

6834.13

518400.00

722.00

723.53

1558085.00

1561144.54

3164346.35

3164347.88

73

-13.55

1.00

9.51

27.02

730.00

6943.58

532900.00

732.00

718.45

1601625.00

1574532.19

3252194.34

3252180.79

74

-1.94

1.00

9.53

27.20

740.00

7053.22

547600.00

742.00

740.06

1645765.00

1641883.80

3341243.70

3341241.76

75

-12.12

1.00

9.55

27.39

750.00

7163.06

562500.00

752.00

739.88

1690505.00

1666273.66

3431494.40

3431482.29

76

-4.18

1.00

9.57

27.57

760.00

7273.09

577600.00

762.00

757.82

1735845.00

1727476.37

3522946.44

3522942.26

77

-11.39

1.00

9.59

27.75

770.00

7383.31

592900.00

772.00

760.61

1781785.00

1759007.45

3615599.80

3615588.41

78

-3.13

1.00

9.61

27.93

780.00

7493.72

608400.00

782.00

778.87

1828325.00

1822068.88

3709454.45

3709451.33

79

-0.63

1.00

9.63

28.11

790.00

7604.31

624100.00

792.00

791.37

1875465.00

1874209.49

3804510.39

3804509.76

80

-2.40

1.00

9.64

28.28

800.00

7715.08

640000.00

802.00

799.60

1923205.00

1918411.02

3900767.59

3900765.19

81

-5.92

1.00

9.66

28.46

810.00

7826.04

656100.00

812.00

806.08

1971545.00

1959704.50

3998226.04

3998220.12

82

1.96

1.00

9.68

28.64

820.00

7937.17

672400.00

822.00

823.96

2020485.00

2024396.20

4096885.73

4096887.69

83

-10.11

1.00

9.70

28.81

830.00

8048.48

688900.00

832.00

821.89

2070025.00

2049812.21

4196746.64

4196736.53

84

10.89

1.00

9.71

28.98

840.00

8159.97

705600.00

842.00

852.89

2120165.00

2141935.56

4297808.75

4297819.64

85

21.38

1.00

9.73

29.15

850.00

8271.62

722500.00

852.00

873.38

2170905.00

2213661.60

4400072.05

4400093.43

86

21.78

1.00

9.75

29.33

860.00

8383.45

739600.00

862.00

883.78

2222245.00

2265805.30

4503536.53

4503558.31

87

13.99

1.00

9.76

29.50

870.00

8495.44

756900.00

872.00

885.99

2274185.00

2302162.91

4608202.18

4608216.17

88

-19.42

1.00

9.78

29.66

880.00

8607.60

774400.00

882.00

862.58

2326725.00

2287885.19

4714068.97

4714049.55

89

16.96

1.00

9.80

29.83

890.00

8719.92

792100.00

892.00

908.96

2379865.00

2413786.09

4821136.90

4821153.86

90

-3.27

1.00

9.81

30.00

900.00

8832.40

810000.00

902.00

898.73

2433605.00

2427064.37

4929405.96

4929402.69

91

-19.81

1.00

9.83

30.17

910.00

8945.05

828100.00

912.00

892.19

2487945.00

2448317.52

5038876.13

5038856.31

92

-18.56

1.00

9.85

30.33

920.00

9057.85

846400.00

922.00

903.44

2542885.00

2505773.68

5149547.39

5149528.84

93

-5.87

1.00

9.86

30.50

930.00

9170.81

864900.00

932.00

926.13

2598425.00

2586694.93

5261419.75

5261413.88

94

-3.92

1.00

9.88

30.66

940.00

9283.93

883600.00

942.00

938.08

2654565.00

2646733.79

5374493.18

5374489.27

95

-9.55

1.00

9.89

30.82

950.00

9397.19

902500.00

952.00

942.45

2711305.00

2692211.71

5488767.68

5488758.13

96

-16.57

1.00

9.91

30.98

960.00

9510.61

921600.00

962.00

945.43

2768645.00

2735505.39

5604243.23

5604226.66

97

-8.16

1.00

9.92

31.14

970.00

9624.19

940900.00

972.00

963.84

2826585.00

2810267.06

5720919.82

5720911.66

98

-15.04

1.00

9.94

31.30

980.00

9737.91

960400.00

982.00

966.96

2885125.00

2855043.63

5838797.45

5838782.41

99

-23.85

1.00

9.95

31.46

990.00

9851.77

980100.00

992.00

968.15

2944265.00

2896571.53

5957876.09

5957852.25

100

12.90

1.00

9.97

31.62

1000.00

9965.78

1000000.00

1002.00

1014.90

3004005.00

3029805.34

6078155.75

6078168.65

Quadratic Data

with Noise

Independent Variable

y=ax^2+bx+c

Column G

Y2

DataCreation.L16:DataCreation.L16

Y2 with Noise

  • Y2

  • with Noise

DataCreation.M15:DataCreation.M16

1

10

DataCreation.G17:DataCreation.G116

345

DataCreation.L17:DataCreation.L116

9647.49565280974

DataCreation.M17:DataCreation.M116

2

20

1285

-38816.2263959274

3

30

2825

-637.759871035814

4

40

4965

49326.4691495895

5

50

7705

-6880.72533447295

6

60

11045

24000.6449363008

7

70

14985

7681.74266688526

8

80

19525

10953.5907056183

9

90

24665

16012.9042239487

10

100

30405

-4604.64688137174

11

110

36745

43307.1833782643

12

120

43685

9399.86373431981

13

130

51225

82553.243506141

14

140

59365

48553.461471349

15

150

68105

99494.2367295921

16

160

77445

39621.0835172608

17

170

87385

127501.215334274

18

180

97925

143982.968074456

19

190

109065

69501.8994245306

20

200

120805

167640.507708602

21

210

133145

112104.03668832

22

220

146085

187197.490743399

23

230

159625

203015.035280026

24

240

173765

165764.408509582

25

250

188505

231586.493047066

26

260

203845

214378.843305893

27

270

219785

214494.802255966

28

280

236325

229245.516058803

29

290

253465

283210.002393611

30

300

271205

253846.713274643

31

310

289545

302016.652682871

32

320

308485

333077.089559883

33

330

328025

281828.748218343

34

340

348165

323304.841181226

35

350

368905

357621.231961735

36

360

390245

404410.116706863

37

370

412185

427485.047001801

38

380

434725

457560.546685383

39

390

457865

504440.301745906

40

400

481605

521943.313370012

41

410

505945

482096.570933871

42

420

530885

534023.827276416

43

430

556425

564675.021701679

44

440

582565

562676.316987313

45

450

609305

624792.831342034

46

460

636645

641511.033024155

47

470

664585

696727.378599383

48

480

693125

712246.068995446

49

490

722265

752275.831053369

50

500

752005

784230.138298236

51

510

782345

813778.429499157

52

520

813285

807747.808361277

53

530

844825

845025.276682153

54

540

876965

912490.939962827

55

550

909705

909734.649096541

56

560

943045

952980.623547062

57

570

976985

967006.179127507

58

580

1011525

1030903.76294833

59

590

1046665

1025075.42550281

60

600

1082405

1129243.00546918

61

610

1118745

1137546.63103342

62

620

1155685

1122755.48604731

63

630

1193225

1168563.56185619

64

640

1231365

1238486.78295944

65

650

1270105

1315781.37732252

66

660

1309445

1262656.43369656

67

670

1349385

1370226.92940965

68

680

1389925

1366022.2907301

69

690

1431065

1418094.44694087

70

700

1472805

1473932.77717877

71

710

1515145

1538138.29850357

72

720

1558085

1561144.54064243

73

730

1601625

1574532.1884416

74

740

1645765

1641883.79948061

75

750

1690505

1666273.65674928

76

760

1735845

1727476.36773277

77

770

1781785

1759007.45312762

78

780

1828325

1822068.87578573

79

790

1875465

1874209.49304771

80

800

1923205

1918411.01690747

81

810

1971545

1959704.49654672

82

820

2020485

2024396.20004933

83

830

2070025

2049812.2064868

84

840

2120165

2141935.55676002

85

850

2170905

2213661.59539271

86

860

2222245

2265805.29750779

87

870

2274185

2302162.91385092

88

880

2326725

2287885.18854082

89

890

2379865

2413786.09165434

90

900

2433605

2427064.37212929

91

910

2487945

2448317.51590751

92

920

2542885

2505773.68114352

93

930

2598425

2586694.93021648

94

940

2654565

2646733.79045125

95

950

2711305

2692211.70525562

96

960

2768645

2735505.38807966

97

970

2826585

2810267.05639999

98

980

2885125

2855043.63038857

99

990

2944265

2896571.53109029

100

1000

3004005

3029805.33743288

Wild Fuction

with Noise

Independent Variable

y=ax^2+bx+c+zlog2x+wxlog2x

Column G

Y3

DataCreation.N16:DataCreation.N16

Y3 with Noise

  • Y3

  • with Noise

DataCreation.O15:DataCreation.O16

1

10

DataCreation.G17:DataCreation.G116

985.214746532505

DataCreation.N17:DataCreation.N116

989.865994358909

DataCreation.O17:DataCreation.O116

2

20

3259.5384378281

3239.48782463014

3

30

6779.81096120934

6778.07958127382

4

40

11531.2801454004

11553.4608799752

5

50

17506.4278386257

17499.1349759585

6

60

24700.6766563434

24707.1544788115

7

70

33110.9409108606

33107.289282194

8

80

42734.9974612758

42730.7117566286

9

90

53571.1674784755

53566.8414305875

10

100

65618.1378947401

65600.6330712994

11

110

78874.8533728846

78878.1344645737

12

120

93340.4470666182

93323.3044984853

13

130

109014.194176245

109029.858297998

14

140

125895.479622871

125890.073853607

15

150

143983.774850351

143999.469468716

16

160

163278.620742989

163259.708784747

17

170

183779.614766659

183799.672874326

18

180

205486.401103124

205509.430087161

19

190

228398.662953932

228378.881403645

20

200

252516.116448196

252539.53420205

21

210

277838.505756862

277827.985275206

22

220

304365.599128731

304386.155374103

23

230

332097.185640523

332118.880658163

24

240

361033.072507042

361029.072211297

25

250

391173.082835713

391194.623582236

26

260

422517.053737311

422522.320658964

27

270

455064.834724923

455062.189626051

28

280

488816.286348158

488812.746606187

29

290

523771.279020924

523786.151522121

30

300

559929.692009627

559921.012866265

31

310

597291.412555253

597297.648381594

32

320

635856.335107877

635868.631152657

33

330

675624.360656172

675601.262530281

34

340

716595.3961376

716582.966058191

35

350

758769.353917512

758763.712033493

36

360

802146.151327363

802153.233885717

37

370

846725.710253898

846733.360277398

38

380

892507.95677245

892519.374545793

39

390

939492.820818597

939516.10846947

40

400

987680.235893267

987700.405049952

41

410

1037070.13879716

1037058.21458262

42

420

1087662.4693909

1087664.03880454

43

430

1139457.17037794

1139461.29538879

44

440

1192454.18710746

1192444.24276596

45

450

1246653.46739517

1246661.21131084

46

460

1302054.96135986

1302057.39437637

47

470

1358658.62127416

1358674.69246346

48

480

1416464.4014279

1416473.9619624

49

490

1475472.25800276

1475487.26341829

50

500

1535682.14895714

1535698.26152629

51

510

1597094.03392019

1597109.75063494

52

520

1659707.87409407

1659705.10549825

53

530

1723523.63216375

1723523.7323021

54

540

1788541.27221352

1788559.0351835

55

550

1854760.75964966

1854760.77447421

56

560

1922182.06112879

1922187.02894056

57

570

1990805.14449116

1990800.15508073

58

580

2060629.97869878

2060639.66808025

59

590

2131656.53377762

2131645.73899037

60

600

2203884.78076384

2203908.19976657

61

610

2277314.69165352

2277324.09246904

62

620

2351946.23935571

2351929.77459873

63

630

2427779.39764844

2427767.06692936

64

640

2504814.14113758

2504817.70202906

65

650

2583050.44521821

2583073.28340687

66

660

2662488.28603837

2662464.89175522

67

670

2743127.64046502

2743138.06142973

68

680

2824968.48605196

2824956.53469733

69

690

2908010.80100972

2908004.31573319

70

700

2992254.56417709

2992255.12806568

71

710

3077699.75499437

3077711.25164362

72

720

3164346.35347803

3164347.88324836

73

730

3252194.34019684

3252180.79379106

74

740

3341243.69624924

3341241.75564898

75

750

3431494.40324199

3431482.28757037

76

760

3522946.44326994

3522942.25895381

77

770

3615599.7988968

3615588.41012337

78

780

3709454.453137

3709451.32507489

79

790

3804510.38943838

3804509.76168491

80

800

3900767.59166586

3900765.19467432

81

810

3998226.04408582

3998220.12383409

82

820

4096885.7313513

4096887.68695132

83

830

4196746.63848792

4196736.53209116

84

840

4297808.75088049

4297819.63615887

85

850

4400072.05426018

4400093.43255787

86

860

4503536.5346924

4503558.31484115

87

870

4608202.17856516

4608216.16752208

88

880

4714068.97257798

4714049.55267225

89

890

4821136.90373135

4821153.86427718

90

900

4929405.95931658

4929402.68900264

91

910

5038876.12690617

5038856.31316413

92

920

5149547.39434458

5149528.83868515

93

930

5261419.74973937

5261413.88470447

94

940

5374493.18145277

5374489.26584799

95

950

5488767.67809357

5488758.1314462

96

960

5604243.22850937

5604226.65870341

97

970

5720919.82177915

5720911.66280735

98

980

5838797.44720611

5838782.40652131

99

990

5957876.09431088

5957852.24757642

100

1000

6078155.7528249

6078168.65299361

???

Page

??? (???)

03/12/2019, 14:05:55

Page /

Lab curve v2/Mark sort/CppApplication_2/.dep.inc

# This code depends on make tool being used DEPFILES=$(wildcard $(addsuffix .d, ${OBJECTFILES} ${TESTOBJECTFILES})) ifneq (${DEPFILES},) include ${DEPFILES} endif

Lab curve v2/Mark sort/CppApplication_2/c.dat

2 1 0.564414 -19.9039

Lab curve v2/Mark sort/CppApplication_2/DegreeC_Y.txt

0.01 2.54 5.97 8.00 10.35 14.61 16.61 18.86 22.80 25.41 27.11 31.21 32.35 36.39 38.34 41.81 43.99 46.94 49.06 53.08 55.12 59.10 62.00 62.94 65.77 70.17 72.52 75.84 78.11 80.82 83.69 86.81 89.11 91.46 93.58 96.74 99.64

Lab curve v2/Mark sort/CppApplication_2/DegreeF_X.txt

Lab curve v2/Mark sort/CppApplication_2/f.dat

37 1 -1.14 0.71 1.19 3.06 4.83 9.53 10.75 14.63 26.78 30.16 34.02 31.69 37.51 30.60 43.10 36.67 35.64 42.78 49.61 50.09 55.62 49.47 67.96 71.86 70.61 74.08 66.04 80.92 78.55 78.13 85.35 78.22 79.83 98.02 90.10 104.33 90.02

Lab curve v2/Mark sort/CppApplication_2/main.cpp

Lab curve v2/Mark sort/CppApplication_2/main.cpp

/*
  March 5th, 2019
  Purpose:  Curve fit of Data Structure empirical timing and/or
            operational analysis
*/
#include < iostream >
#include < iomanip >
using   namespace  std ;

//User Libraries 
#include   "mArray.h"

//Global Constants - Physics, Math, Conversions, Dimensions for
//function prototypes only!

//Function Prototypes

//Execution begins here
int  main (){
     //Declare the Row and Empirical Data files
     char  fn_r [] = "r.dat" ; //r file name
    mArray r ( fn_r );       //Independent variable, form of the equation
     char  fn_f [] = "f.dat" ; //f file name
    mArray f ( fn_f );       //Dependent variable, from empirical data run
    
     //Make the Sum of Squares Calculation c=(rt*r)^-1
    mArray rt ( false , r );   //Transpose of independent variable
    mArray temp = rt * f ;     //Calculate from right to left more efficient
    mArray c = mArray :: invMat ( rt * r ) * temp ;
    
     //Output the results
     char  fn_c [] = "c.dat" ; //c file name
    c . mPrint ( fn_c );       //Where curve fit coefficients are printed
    
     return   0 ;
}

Lab curve v2/Mark sort/CppApplication_2/Makefile

# # There exist several targets which are by default empty and which can be # used for execution of your targets. These targets are usually executed # before and after some main targets. They are: # # .build-pre: called before 'build' target # .build-post: called after 'build' target # .clean-pre: called before 'clean' target # .clean-post: called after 'clean' target # .clobber-pre: called before 'clobber' target # .clobber-post: called after 'clobber' target # .all-pre: called before 'all' target # .all-post: called after 'all' target # .help-pre: called before 'help' target # .help-post: called after 'help' target # # Targets beginning with '.' are not intended to be called on their own. # # Main targets can be executed directly, and they are: # # build build a specific configuration # clean remove built files from a configuration # clobber remove all built files # all build all configurations # help print help mesage # # Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and # .help-impl are implemented in nbproject/makefile-impl.mk. # # Available make variables: # # CND_BASEDIR base directory for relative paths # CND_DISTDIR default top distribution directory (build artifacts) # CND_BUILDDIR default top build directory (object files, ...) # CONF name of current configuration # CND_PLATFORM_${CONF} platform name (current configuration) # CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) # CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) # CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) # CND_PACKAGE_DIR_${CONF} directory of package (current configuration) # CND_PACKAGE_NAME_${CONF} name of package (current configuration) # CND_PACKAGE_PATH_${CONF} path to package (current configuration) # # NOCDDL # Environment MKDIR=mkdir CP=cp CCADMIN=CCadmin # build build: .build-post .build-pre: # Add your pre 'build' code here... .build-post: .build-impl # Add your post 'build' code here... # clean clean: .clean-post .clean-pre: # Add your pre 'clean' code here... .clean-post: .clean-impl # Add your post 'clean' code here... # clobber clobber: .clobber-post .clobber-pre: # Add your pre 'clobber' code here... .clobber-post: .clobber-impl # Add your post 'clobber' code here... # all all: .all-post .all-pre: # Add your pre 'all' code here... .all-post: .all-impl # Add your post 'all' code here... # build tests build-tests: .build-tests-post .build-tests-pre: # Add your pre 'build-tests' code here... .build-tests-post: .build-tests-impl # Add your post 'build-tests' code here... # run tests test: .test-post .test-pre: build-tests # Add your pre 'test' code here... .test-post: .test-impl # Add your post 'test' code here... # help help: .help-post .help-pre: # Add your pre 'help' code here... .help-post: .help-impl # Add your post 'help' code here... # include project implementation makefile include nbproject/Makefile-impl.mk # include project make variables include nbproject/Makefile-variables.mk

Lab curve v2/Mark sort/CppApplication_2/mArray.cpp

Lab curve v2/Mark sort/CppApplication_2/mArray.cpp

//
//March 5th, 2019
//Quick and Dirty Dynamic Array Class
//Built for speed not error checking
//Know what you are doing or die using it
//The speed mentioned above was not
//speed of execution but speed to code.

//This is the implementation for the
//Mark Array

//Things to do
//  1)  Read in the input file
//           time  current
//  2)  Add in reading the transformation matrix
//  3)  Add in reading start and stop times
//  4)  Output the information as expected
//  5)  Also send to the ftp file


#include   "mArray.h"
#include   < fstream >
#include   < cmath >
using   namespace  std ;

//Constructor from a file
mArray :: mArray ( char   * fn ){
    ifstream in ;
    in . open ( fn );
     double  rd , cd ;
    in >> rd ;
    in >> cd ;
     Rows = static_cast < int > ( rd );
     Cols = static_cast < int > ( cd );
     Data = new   double * [ Rows ];
     for ( int  r = 0 ; r < Rows ; r ++ ){
         Data [ r ] = new   double [ Cols ];
     }
     for ( int  r = 0 ; r < Rows ; r ++ ){
         for ( int  c = 0 ; c < Cols ; c ++ ){
                in >> Data [ r ][ c ];
         }
     }
    in . close ();
}

//Constructor given rows and cols
//and initialized to zero
mArray :: mArray ( int  rd , int  cd ){
     Rows = rd ;
     Cols = cd ;
     Data = new   double * [ Rows ];
     for ( int  r = 0 ; r < Rows ; r ++ ){
         Data [ r ] = new   double [ Cols ];
     }
     for ( int  r = 0 ; r < Rows ; r ++ ){
         for ( int  c = 0 ; c < Cols ; c ++ ){
             Data [ r ][ c ] = 0.0 ;
         }
     }
}
//Copy constructor
mArray :: mArray ( const  mArray  & d ){
     Rows = d . Rows ;
     Cols = d . Cols ;
     Data = new   double * [ Rows ];
     for ( int  r = 0 ; r < Rows ; r ++ ){
         Data [ r ] = new   double [ Cols ];
     }
     for ( int  r = 0 ; r < Rows ; r ++ ){
         for ( int  c = 0 ; c < Cols ; c ++ ){
             Data [ r ][ c ] = d . Data [ r ][ c ];
         }
     }
}
//Copy constructor using array limits
//Also takes the transpose simultaneously
//z==> false take the transpose
//[rb,re]==>Span for rows
//[cb,ce]==>Span for cols
mArray :: mArray ( bool  z , const  mArray  & d , int  rb , int  re , int  cb , int  ce ){
     if ( z ){
         Rows = re - rb + 1 ;
         Cols = ce - cb + 1 ;
         Data = new   double * [ Rows ];
         for ( int  r = 0 ; r < Rows ; r ++ ){
             Data [ r ] = new   double [ Cols ];
         }
         for ( int  r = 0 ; r < Rows ; r ++ ){
             for ( int  c = 0 ; c < Cols ; c ++ ){
                 Data [ r ][ c ] = d . Data [ rb + r ][ cb + c ];
             }
         }
     } else { //with Transpose
         Cols = re - rb + 1 ;
         Rows = ce - cb + 1 ;
         Data = new   double * [ Rows ];
         for ( int  r = 0 ; r < Rows ; r ++ ){
             Data [ r ] = new   double [ Cols ];
         }
         for ( int  r = 0 ; r < Rows ; r ++ ){
             for ( int  c = 0 ; c < Cols ; c ++ ){
                 Data [ r ][ c ] = d . Data [ rb + c ][ cb + r ];
             }
         }
     }
}
//Copy constructor using array limits
//Also takes the transpose simultaneously
//z==> false take the transpose
//[rb,re]==>Span for rows
//[cb,ce]==>Span for cols
mArray :: mArray ( bool  z , const  mArray  & d ){
     int  rb = 0 ;
     int  re = d . getRows () - 1 ;
     int  cb = 0 ;
     int  ce = d . getCols () - 1 ;
     if ( z ){
         Rows = re - rb + 1 ;
         Cols = ce - cb + 1 ;
         Data = new   double * [ Rows ];
         for ( int  r = 0 ; r < Rows ; r ++ ){
             Data [ r ] = new   double [ Cols ];
         }
         for ( int  r = 0 ; r < Rows ; r ++ ){
             for ( int  c = 0 ; c < Cols ; c ++ ){
                 Data [ r ][ c ] = d . Data [ rb + r ][ cb + c ];
             }
         }
     } else { //with Transpose
         Cols = re - rb + 1 ;
         Rows = ce - cb + 1 ;
         Data = new   double * [ Rows ];
         for ( int  r = 0 ; r < Rows ; r ++ ){
             Data [ r ] = new   double [ Cols ];
         }
         for ( int  r = 0 ; r < Rows ; r ++ ){
             for ( int  c = 0 ; c < Cols ; c ++ ){
                 Data [ r ][ c ] = d . Data [ rb + c ][ cb + r ];
             }
         }
     }
}
//Destructor
mArray ::~ mArray (){
     //Delete the columns in all the rows
     //for the 2-Dim Array
     for ( int  i = 0 ; i < Rows ; i ++ ){
         delete   [] Data [ i ];
     }

     //Delete all the rows
     //int the array
     delete   [] Data ;
}

//Note the +,- overloading makes an assumption
//on non-equal arrays.  It does this by column
//such that the mod operation is utilized

//Overloaded binary + operator.
//Used for Matrix+Vector additions
//Neural net specific
mArray mArray :: operator + ( const  mArray  & right ){
    mArray temp ( Rows , Cols );
     int  m = right . Cols ;
     for ( int  r = 0 ; r < Rows ; r ++ ){
         for ( int  c = 0 ; c < Cols ; c ++ ){
            temp . Data [ r ][ c ] = Data [ r ][ c ] + right . Data [ r ][ c % m ];
         }
     }
     return  temp ;
}
//Overloaded binary - operator.
//Used for Matrix+Vector additions
//Neural net specific
mArray mArray :: operator - ( const  mArray  & right ){
    mArray temp ( Rows , Cols );
     int  m = right . Cols ;
     for ( int  r = 0 ; r < Rows ; r ++ ){
         for ( int  c = 0 ; c < Cols ; c ++ ){
            temp . Data [ r ][ c ] = Data [ r ][ c ] - right . Data [ r ][ c % m ];
         }
     }
     return  temp ;
}
//Overloaded binary * operator.
//Typical matrix*matrix multiplication
mArray mArray :: operator * ( const  mArray  & right ){
    mArray temp ( Rows , right . Cols );
     for ( int  r = 0 ; r < Rows ; r ++ ){
         for ( int  c = 0 ; c < right . Cols ; c ++ ){
             for ( int  k = 0 ; k < Cols ; k ++ ){
                    temp . Data [ r ][ c ] += Data [ r ][ k ] * right . Data [ k ][ c ];
             }
         }
     }
     return  temp ;
}

//Overloaded equality operator
mArray mArray :: operator = ( const  mArray  & right ){  
     Rows = right . Rows ;
     Cols = right . Cols ;
     for ( int  r = 0 ; r < Rows ; r ++ ){
         for ( int  c = 0 ; c < Cols ; c ++ ){
                 Data [ r ][ c ] = right . Data [ r ][ c ];
         }
     }
     return   * this ;  
}

//Neural net activation function
//Note: This is a static function
mArray mArray :: logsig ( const  mArray  & a ){
    mArray temp ( a . Rows , a . Cols );
     for ( int  r = 0 ; r < a . Rows ; r ++ ){
         for ( int  c = 0 ; c < a . Cols ; c ++ ){
                temp . Data [ r ][ c ] = 1.0 / ( 1.0 + exp ( - a . Data [ r ][ c ]));
         }
     }
     return  temp ;
}

mArray mArray :: invMat ( const  mArray  & m ){
     //Allocate memory for the partitioned matrix and the inverse matrix
    mArray a ( m . Rows , 2 * m . Cols );
    mArray mInv ( m . Rows , m . Cols );

     //Transfer information to the partitioned matrix
     for ( int  i = 0 ; i < m . Rows ; i ++ )
         for ( int  j = 0 ; j < m . Cols ; j ++ )
            a . setData ( m . getData ( i , j ), i , j );
    
     //Fill the right-half of the partitioned matrix with the identity matrix
     for ( int  i = 0 ; i < a . Rows ; i ++ ){
         for ( int  j = a . Rows ; j < a . Cols ; j ++ ){
             if ( i == j - a . Rows ) a . setData ( 1 , i , j );
             else  a . setData ( 0 , i , j );
         }
     }
   
     //Calculate the inverse by reducing the 
     for ( int  i = 0 ; i < a . Rows ; i ++ ){
         float  t = a . getData ( i , i );
         for ( int  j = i ; j < a . Cols ; j ++ ) a . setData ( a . getData ( i , j ) / t , i , j );
         for ( int  j = 0 ; j < a . Rows ; j ++ ){
             if ( i != j ){
                t = a . getData ( j , i );
                 for ( int  k = 0 ; k < a . Cols ; k ++ )
                    a . setData ( a . getData ( j , k ) - t * a . getData ( i , k ), j , k );
             }
         }
     }
    
     //Transfer the information to the matrix inverse
     for ( int  i = 0 ; i < m . Rows ; i ++ )
         for ( int  j = 0 ; j < m . Cols ; j ++ )
            mInv . setData ( a . getData ( i , j + a . Rows ), i , j );

     //Return the allocated inverse matrix
     return  mInv ;
}

//Sort using an index the content of an array
int   * mArray :: sort ( int  c ){
     int   * indx = new   int [ Rows ];
     for ( int  i = 0 ; i < Rows ; i ++ ){
        indx [ i ] = i ;
     }
     for ( int  i = 0 ; i < Rows - 1 ; i ++ ){
         for ( int  j = i ; j < Rows ; j ++ ){
             if ( Data [ indx [ i ]][ c ] > Data [ indx [ j ]][ c ]){
                 int  temp = indx [ i ];
                indx [ i ] = indx [ j ];
                indx [ j ] = temp ;
             }
         }
     }
     return  indx ;
}

//Output the matrix or vector to a file
void  mArray :: mPrint ( char   * fn ){
    ofstream out ;
    out . open ( fn );
    out << Rows << " " ;
    out << Cols << endl ;
     for ( int  r = 0 ; r < Rows ; r ++ ){
         for ( int  c = 0 ; c < Cols ; c ++ ){
            out << Data [ r ][ c ] << " " ;
         }
        out << endl ;
     }
    out . close ();
}

Lab curve v2/Mark sort/CppApplication_2/mArray.h

// //March 5th, 2019 //Quick and Dirty Dynamic Array Class //Built for speed not error checking //Know what you are doing or die using it //The speed mentioned above was not //speed of execution but speed to code. //This is the specification for the //Mark Array #ifndef MARRAY_H #define MARRAY_H class mArray { private: int Rows; //Rows of the Array int Cols; //Cols of the Array double **Data; //Dynamic 2D Array public: mArray(char *); mArray(int,int); mArray(const mArray &); mArray(bool,const mArray &,int,int,int,int); mArray(bool,const mArray &); ~mArray(); mArray operator+(const mArray &); mArray operator-(const mArray &); mArray operator*(const mArray &); mArray operator=(const mArray &); static mArray logsig(const mArray &); static mArray invMat(const mArray &); int *sort(int); void mPrint(char *); int getRows()const {return Rows;}; int getCols()const {return Cols;}; double getData(int r,int c)const {return Data[r][c];}; void setData(double a,int r,int c){Data[r][c]=a;}; }; #endif

Lab curve v2/Mark sort/CppApplication_2/nbproject/configurations.xml

mArray.h mArray.cpp main.cpp Makefile Makefile default true false default true false 5 5 5 5

Lab curve v2/Mark sort/CppApplication_2/nbproject/Makefile-Debug.mk

# # Generated Makefile - do not edit! # # Edit the Makefile in the project folder instead (../Makefile). Each target # has a -pre and a -post target defined where you can add customized code. # # This makefile implements configuration specific macros and targets. # Environment MKDIR=mkdir CP=cp GREP=grep NM=nm CCADMIN=CCadmin RANLIB=ranlib CC=gcc CCC=g++ CXX=g++ FC=gfortran AS=as # Macros CND_PLATFORM=Cygwin-Windows CND_DLIB_EXT=dll CND_CONF=Debug CND_DISTDIR=dist CND_BUILDDIR=build # Include project Makefile include Makefile # Object Directory OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM} # Object Files OBJECTFILES= \ ${OBJECTDIR}/mArray.o \ ${OBJECTDIR}/main.o # C Compiler Flags CFLAGS= # CC Compiler Flags CCFLAGS= CXXFLAGS= # Fortran Compiler Flags FFLAGS= # Assembler Flags ASFLAGS= # Link Libraries and Options LDLIBSOPTIONS= # Build Targets .build-conf: ${BUILD_SUBPROJECTS} "${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_2.exe ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_2.exe: ${OBJECTFILES} ${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM} ${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_2 ${OBJECTFILES} ${LDLIBSOPTIONS} ${OBJECTDIR}/mArray.o: mArray.cpp ${MKDIR} -p ${OBJECTDIR} ${RM} "[email protected]" $(COMPILE.cc) -g -MMD -MP -MF "[email protected]" -o ${OBJECTDIR}/mArray.o mArray.cpp ${OBJECTDIR}/main.o: main.cpp ${MKDIR} -p ${OBJECTDIR} ${RM} "[email protected]" $(COMPILE.cc) -g -MMD -MP -MF "[email protected]" -o ${OBJECTDIR}/main.o main.cpp # Subprojects .build-subprojects: # Clean Targets .clean-conf: ${CLEAN_SUBPROJECTS} ${RM} -r ${CND_BUILDDIR}/${CND_CONF} # Subprojects .clean-subprojects: # Enable dependency checking .dep.inc: .depcheck-impl include .dep.inc

Lab curve v2/Mark sort/CppApplication_2/nbproject/Makefile-impl.mk

# # Generated Makefile - do not edit! # # Edit the Makefile in the project folder instead (../Makefile). Each target # has a pre- and a post- target defined where you can add customization code. # # This makefile implements macros and targets common to all configurations. # # NOCDDL # Building and Cleaning subprojects are done by default, but can be controlled with the SUB # macro. If SUB=no, subprojects will not be built or cleaned. The following macro # statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf # and .clean-reqprojects-conf unless SUB has the value 'no' SUB_no=NO SUBPROJECTS=${SUB_${SUB}} BUILD_SUBPROJECTS_=.build-subprojects BUILD_SUBPROJECTS_NO= BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}} CLEAN_SUBPROJECTS_=.clean-subprojects CLEAN_SUBPROJECTS_NO= CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}} # Project Name PROJECTNAME=CppApplication_2 # Active Configuration DEFAULTCONF=Debug CONF=${DEFAULTCONF} # All Configurations ALLCONFS=Debug Release # build .build-impl: .build-pre .validate-impl .depcheck-impl @#echo "=> Running $@... Configuration=$(CONF)" "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf # clean .clean-impl: .clean-pre .validate-impl .depcheck-impl @#echo "=> Running $@... Configuration=$(CONF)" "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf # clobber .clobber-impl: .clobber-pre .depcheck-impl @#echo "=> Running $@..." for CONF in ${ALLCONFS}; \ do \ "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf; \ done # all .all-impl: .all-pre .depcheck-impl @#echo "=> Running $@..." for CONF in ${ALLCONFS}; \ do \ "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf; \ done # build tests .build-tests-impl: .build-impl .build-tests-pre @#echo "=> Running $@... Configuration=$(CONF)" "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-tests-conf # run tests .test-impl: .build-tests-impl .test-pre @#echo "=> Running $@... Configuration=$(CONF)" "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .test-conf # dependency checking support .depcheck-impl: @echo "# This code depends on make tool being used" >.dep.inc @if [ -n "${MAKE_VERSION}" ]; then \ echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES} \$${TESTOBJECTFILES}))" >>.dep.inc; \ echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \ echo "include \$${DEPFILES}" >>.dep.inc; \ echo "endif" >>.dep.inc; \ else \ echo ".KEEP_STATE:" >>.dep.inc; \ echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \ fi # configuration validation .validate-impl: @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \ then \ echo ""; \ echo "Error: can not find the makefile for configuration '${CONF}' in project ${PROJECTNAME}"; \ echo "See 'make help' for details."; \ echo "Current directory: " `pwd`; \ echo ""; \ fi @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \ then \ exit 1; \ fi # help .help-impl: .help-pre @echo "This makefile supports the following configurations:" @echo " ${ALLCONFS}" @echo "" @echo "and the following targets:" @echo " build (default target)" @echo " clean" @echo " clobber" @echo " all" @echo " help" @echo "" @echo "Makefile Usage:" @echo " make [CONF=<CONFIGURATION>] [SUB=no] build" @echo " make [CONF=<CONFIGURATION>] [SUB=no] clean" @echo " make [SUB=no] clobber" @echo " make [SUB=no] all" @echo " make help" @echo "" @echo "Target 'build' will build a specific configuration and, unless 'SUB=no'," @echo " also build subprojects." @echo "Target 'clean' will clean a specific configuration and, unless 'SUB=no'," @echo " also clean subprojects." @echo "Target 'clobber' will remove all built files from all configurations and," @echo " unless 'SUB=no', also from subprojects." @echo "Target 'all' will will build all configurations and, unless 'SUB=no'," @echo " also build subprojects." @echo "Target 'help' prints this message." @echo ""

Lab curve v2/Mark sort/CppApplication_2/nbproject/Makefile-Release.mk

# # Generated Makefile - do not edit! # # Edit the Makefile in the project folder instead (../Makefile). Each target # has a -pre and a -post target defined where you can add customized code. # # This makefile implements configuration specific macros and targets. # Environment MKDIR=mkdir CP=cp GREP=grep NM=nm CCADMIN=CCadmin RANLIB=ranlib CC=gcc CCC=g++ CXX=g++ FC=gfortran AS=as # Macros CND_PLATFORM=Cygwin-Windows CND_DLIB_EXT=dll CND_CONF=Release CND_DISTDIR=dist CND_BUILDDIR=build # Include project Makefile include Makefile # Object Directory OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM} # Object Files OBJECTFILES= \ ${OBJECTDIR}/mArray.o \ ${OBJECTDIR}/main.o # C Compiler Flags CFLAGS= # CC Compiler Flags CCFLAGS= CXXFLAGS= # Fortran Compiler Flags FFLAGS= # Assembler Flags ASFLAGS= # Link Libraries and Options LDLIBSOPTIONS= # Build Targets .build-conf: ${BUILD_SUBPROJECTS} "${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_2.exe ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_2.exe: ${OBJECTFILES} ${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM} ${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_2 ${OBJECTFILES} ${LDLIBSOPTIONS} ${OBJECTDIR}/mArray.o: mArray.cpp ${MKDIR} -p ${OBJECTDIR} ${RM} "[email protected]" $(COMPILE.cc) -O2 -MMD -MP -MF "[email protected]" -o ${OBJECTDIR}/mArray.o mArray.cpp ${OBJECTDIR}/main.o: main.cpp ${MKDIR} -p ${OBJECTDIR} ${RM} "[email protected]" $(COMPILE.cc) -O2 -MMD -MP -MF "[email protected]" -o ${OBJECTDIR}/main.o main.cpp # Subprojects .build-subprojects: # Clean Targets .clean-conf: ${CLEAN_SUBPROJECTS} ${RM} -r ${CND_BUILDDIR}/${CND_CONF} # Subprojects .clean-subprojects: # Enable dependency checking .dep.inc: .depcheck-impl include .dep.inc

Lab curve v2/Mark sort/CppApplication_2/nbproject/Makefile-variables.mk

# # Generated - do not edit! # # NOCDDL # CND_BASEDIR=`pwd` CND_BUILDDIR=build CND_DISTDIR=dist # Debug configuration CND_PLATFORM_Debug=Cygwin-Windows CND_ARTIFACT_DIR_Debug=dist/Debug/Cygwin-Windows CND_ARTIFACT_NAME_Debug=cppapplication_2 CND_ARTIFACT_PATH_Debug=dist/Debug/Cygwin-Windows/cppapplication_2 CND_PACKAGE_DIR_Debug=dist/Debug/Cygwin-Windows/package CND_PACKAGE_NAME_Debug=cppapplication2.tar CND_PACKAGE_PATH_Debug=dist/Debug/Cygwin-Windows/package/cppapplication2.tar # Release configuration CND_PLATFORM_Release=Cygwin-Windows CND_ARTIFACT_DIR_Release=dist/Release/Cygwin-Windows CND_ARTIFACT_NAME_Release=cppapplication_2 CND_ARTIFACT_PATH_Release=dist/Release/Cygwin-Windows/cppapplication_2 CND_PACKAGE_DIR_Release=dist/Release/Cygwin-Windows/package CND_PACKAGE_NAME_Release=cppapplication2.tar CND_PACKAGE_PATH_Release=dist/Release/Cygwin-Windows/package/cppapplication2.tar # # include compiler specific variables # # dmake command ROOT:sh = test -f nbproject/private/Makefile-variables.mk || \ (mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk) # # gmake command .PHONY: $(shell test -f nbproject/private/Makefile-variables.mk || (mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk)) # include nbproject/private/Makefile-variables.mk

Lab curve v2/Mark sort/CppApplication_2/nbproject/Package-Debug.bash

#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=Cygwin-Windows CND_CONF=Debug CND_DISTDIR=dist CND_BUILDDIR=build CND_DLIB_EXT=dll NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_2 OUTPUT_BASENAME=cppapplication_2 PACKAGE_TOP_DIR=cppapplication2/ # Functions function checkReturnCode { rc=$? if [ $rc != 0 ] then exit $rc fi } function makeDirectory # $1 directory path # $2 permission (optional) { mkdir -p "$1" checkReturnCode if [ "$2" != "" ] then chmod $2 "$1" checkReturnCode fi } function copyFileToTmpDir # $1 from-file path # $2 to-file path # $3 permission { cp "$1" "$2" checkReturnCode if [ "$3" != "" ] then chmod $3 "$2" checkReturnCode fi } # Setup cd "${TOP}" mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package rm -rf ${NBTMPDIR} mkdir -p ${NBTMPDIR} # Copy files and create directories and links cd "${TOP}" makeDirectory "${NBTMPDIR}/cppapplication2/bin" copyFileToTmpDir "${OUTPUT_PATH}.exe" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}.exe" 0755 # Generate tar file cd "${TOP}" rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cppapplication2.tar cd ${NBTMPDIR} tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cppapplication2.tar * checkReturnCode # Cleanup cd "${TOP}" rm -rf ${NBTMPDIR}

Lab curve v2/Mark sort/CppApplication_2/nbproject/Package-Release.bash

#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=Cygwin-Windows CND_CONF=Release CND_DISTDIR=dist CND_BUILDDIR=build CND_DLIB_EXT=dll NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cppapplication_2 OUTPUT_BASENAME=cppapplication_2 PACKAGE_TOP_DIR=cppapplication2/ # Functions function checkReturnCode { rc=$? if [ $rc != 0 ] then exit $rc fi } function makeDirectory # $1 directory path # $2 permission (optional) { mkdir -p "$1" checkReturnCode if [ "$2" != "" ] then chmod $2 "$1" checkReturnCode fi } function copyFileToTmpDir # $1 from-file path # $2 to-file path # $3 permission { cp "$1" "$2" checkReturnCode if [ "$3" != "" ] then chmod $3 "$2" checkReturnCode fi } # Setup cd "${TOP}" mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package rm -rf ${NBTMPDIR} mkdir -p ${NBTMPDIR} # Copy files and create directories and links cd "${TOP}" makeDirectory "${NBTMPDIR}/cppapplication2/bin" copyFileToTmpDir "${OUTPUT_PATH}.exe" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}.exe" 0755 # Generate tar file cd "${TOP}" rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cppapplication2.tar cd ${NBTMPDIR} tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/cppapplication2.tar * checkReturnCode # Cleanup cd "${TOP}" rm -rf ${NBTMPDIR}

Lab curve v2/Mark sort/CppApplication_2/nbproject/private/c_standard_headers_indexer.c

/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common * Development and Distribution License("CDDL") (collectively, the * "License"). You may not use this file except in compliance with the * License. You can obtain a copy of the License at * http://www.netbeans.org/cddl-gplv2.html * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the * specific language governing permissions and limitations under the * License. When distributing the software, include this License Header * Notice in each file and include the License file at * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this * particular file as subject to the "Classpath" exception as provided * by Oracle in the GPL Version 2 section of the License file that * accompanied this code. If applicable, add the following below the * License Header, with the fields enclosed by brackets [] replaced by * your own identifying information: * "Portions Copyrighted [year] [name of copyright owner]" * * If you wish your version of this file to be governed by only the CDDL * or only the GPL Version 2, indicate your decision by adding * "[Contributor] elects to include this software in this distribution * under the [CDDL or GPL Version 2] license." If you do not indicate a * single choice of license, a recipient has the option to distribute * your version of this file under either the CDDL, the GPL Version 2 or * to extend the choice of license to its licensees as provided above. * However, if you add GPL Version 2 code and therefore, elected the GPL * Version 2 license, then the option applies only if the new code is * made subject to such option by the copyright holder. * * Contributor(s): */ // List of standard headers was taken in http://en.cppreference.com/w/c/header #include <assert.h> // Conditionally compiled macro that compares its argument to zero #include <ctype.h> // Functions to determine the type contained in character data #include <errno.h> // Macros reporting error conditions #include <float.h> // Limits of float types #include <limits.h> // Sizes of basic types #include <locale.h> // Localization utilities #include <math.h> // Common mathematics functions #include <setjmp.h> // Nonlocal jumps #include <signal.h> // Signal handling #include <stdarg.h> // Variable arguments #include <stddef.h> // Common macro definitions #include <stdio.h> // Input/output #include <string.h> // String handling #include <stdlib.h> // General utilities: memory management, program utilities, string conversions, random numbers #include <time.h> // Time/date utilities #include <iso646.h> // (since C95) Alternative operator spellings #include <wchar.h> // (since C95) Extended multibyte and wide character utilities #include <wctype.h> // (since C95) Wide character classification and mapping utilities #ifdef _STDC_C99 #include <complex.h> // (since C99) Complex number arithmetic #include <fenv.h> // (since C99) Floating-point environment #include <inttypes.h> // (since C99) Format conversion of integer types #include <stdbool.h> // (since C99) Boolean type #include <stdint.h> // (since C99) Fixed-width integer types #include <tgmath.h> // (since C99) Type-generic math (macros wrapping math.h and complex.h) #endif #ifdef _STDC_C11 #include <stdalign.h> // (since C11) alignas and alignof convenience macros #include <stdatomic.h> // (since C11) Atomic types #include <stdnoreturn.h> // (since C11) noreturn convenience macros #include <threads.h> // (since C11) Thread library #include <uchar.h> // (since C11) UTF-16 and UTF-32 character utilities #endif

Lab curve v2/Mark sort/CppApplication_2/nbproject/private/configurations.xml

Makefile localhost 3 gdb "${OUTPUT_PATH}" "${OUTPUT_PATH}" true 0 0 localhost 3 gdb "${OUTPUT_PATH}" "${OUTPUT_PATH}" true 0 0

Lab curve v2/Mark sort/CppApplication_2/nbproject/private/cpp_standard_headers_indexer.cpp

Lab curve v2/Mark sort/CppApplication_2/nbproject/private/cpp_standard_headers_indexer.cpp

/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 *
 * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved.
 *
 * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
 * Other names may be trademarks of their respective owners.
 *
 * The contents of this file are subject to the terms of either the GNU
 * General Public License Version 2 only ("GPL") or the Common
 * Development and Distribution License("CDDL") (collectively, the
 * "License"). You may not use this file except in compliance with the
 * License. You can obtain a copy of the License at
 * http://www.netbeans.org/cddl-gplv2.html
 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
 * specific language governing permissions and limitations under the
 * License.  When distributing the software, include this License Header
 * Notice in each file and include the License file at
 * nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
 * particular file as subject to the "Classpath" exception as provided
 * by Oracle in the GPL Version 2 section of the License file that
 * accompanied this code. If applicable, add the following below the
 * License Header, with the fields enclosed by brackets [] replaced by
 * your own identifying information:
 * "Portions Copyrighted [year] [name of copyright owner]"
 *
 * If you wish your version of this file to be governed by only the CDDL
 * or only the GPL Version 2, indicate your decision by adding
 * "[Contributor] elects to include this software in this distribution
 * under the [CDDL or GPL Version 2] license." If you do not indicate a
 * single choice of license, a recipient has the option to distribute
 * your version of this file under either the CDDL, the GPL Version 2 or
 * to extend the choice of license to its licensees as provided above.
 * However, if you add GPL Version 2 code and therefore, elected the GPL
 * Version 2 license, then the option applies only if the new code is
 * made subject to such option by the copyright holder.
 *
 * Contributor(s):
 */

// List of standard headers was taken in http://en.cppreference.com/w/cpp/header

#include   < cstdlib >        // General purpose utilities: program control, dynamic memory allocation, random numbers, sort and search
#include   < csignal >        // Functions and macro constants for signal management
#include   < csetjmp >        // Macro (and function) that saves (and jumps) to an execution context
#include   < cstdarg >        // Handling of variable length argument lists
#include   < typeinfo >           // Runtime type information utilities
#include   < bitset >         // std::bitset class template
#include   < functional >         // Function objects, designed for use with the standard algorithms
#include   < utility >        // Various utility components
#include   < ctime >          // C-style time/date utilites
#include   < cstddef >        // typedefs for types such as size_t, NULL and others
#include   < new >                // Low-level memory management utilities
#include   < memory >         // Higher level memory management utilities
#include   < climits >            // limits of integral types
#include   < cfloat >         // limits of float types
#include   < limits >         // standardized way to query properties of arithmetic types
#include   < exception >          // Exception handling utilities
#include   < stdexcept >          // Standard exception objects
#include   < cassert >        // Conditionally compiled macro that compares its argument to zero
#include   < cerrno >             // Macro containing the last error number
#include   < cctype >             // functions to determine the type contained in character data
#include   < cwctype >            // functions for determining the type of wide character data
#include   < cstring >        // various narrow character string handling functions
#include   < cwchar >         // various wide and multibyte string handling functions
#include   < string >         // std::basic_string class template
#include   < vector >         // std::vector container
#include   < deque >          // std::deque container
#include   < list >           // std::list container
#include   < set >                // std::set and std::multiset associative containers
#include   < map >                // std::map and std::multimap associative containers
#include   < stack >          // std::stack container adaptor
#include   < queue >          // std::queue and std::priority_queue container adaptors
#include   < algorithm >          // Algorithms that operate on containers
#include   < iterator >           // Container iterators
#include   < cmath >              // Common mathematics functions
#include   < complex >            // Complex number type
#include   < valarray >           // Class for representing and manipulating arrays of values
#include   < numeric >            // Numeric operations on values in containers
#include   < iosfwd >             // forward declarations of all classes in the input/output library
#include   < ios >                // std::ios_base class, std::basic_ios class template and several typedefs
#include   < istream >            // std::basic_istream class template and several typedefs
#include   < ostream >            // std::basic_ostream, std::basic_iostream class templates and several typedefs
#include   < iostream >           // several standard stream objects
#include   < fstream >            // std::basic_fstream, std::basic_ifstream, std::basic_ofstream class templates and several typedefs
#include   < sstream >            // std::basic_stringstream, std::basic_istringstream, std::basic_ostringstream class templates and several typedefs
#include   < strstream >          // std::strstream, std::istrstream, std::ostrstream(deprecated)
#include   < iomanip >            // Helper functions to control the format or input and output
#include   < streambuf >          // std::basic_streambuf class template
#include   < cstdio >             // C-style input-output functions
#include   < locale >             // Localization utilities
#include   < clocale >            // C localization utilities
#include   < ciso646 >            // empty header. The macros that appear in iso646.h in C are keywords in C++
#if  __cplusplus  >=   201103L
#include   < typeindex >          // (since C++11)    std::type_index
#include   < type_traits >        // (since C++11)    Compile-time type information
#include   < chrono >             // (since C++11)    C++ time utilites
#include   < initializer_list >   // (since C++11)    std::initializer_list class template
#include   < tuple >              // (since C++11)    std::tuple class template
#include   < scoped_allocator >   // (since C++11)    Nested allocator class
#include   < cstdint >            // (since C++11)    fixed-size types and limits of other types
#include   < cinttypes >          // (since C++11)    formatting macros , intmax_t and uintmax_t math and conversions
#include   < system_error >       // (since C++11)    defines std::error_code, a platform-dependent error code
#include   < cuchar >             // (since C++11)    C-style Unicode character conversion functions
#include   < array >              // (since C++11)    std::array container
#include   < forward_list >       // (since C++11)    std::forward_list container
#include   < unordered_set >      // (since C++11)    std::unordered_set and std::unordered_multiset unordered associative containers
#include   < unordered_map >      // (since C++11)    std::unordered_map and std::unordered_multimap unordered associative containers
#include   < random >             // (since C++11)    Random number generators and distributions
#include   < ratio >              // (since C++11)    Compile-time rational arithmetic
#include   < cfenv >              // (since C++11)    Floating-point environment access functions
#include   < codecvt >            // (since C++11)    Unicode conversion facilities
#include   < regex >              // (since C++11)    Classes, algorithms and iterators to support regular expression processing
#include   < atomic >             // (since C++11)    Atomic operations library
#include   < ccomplex >           // (since C++11)(deprecated in C++17)   simply includes the header <complex>
#include   < ctgmath >            // (since C++11)(deprecated in C++17)   simply includes the headers <ccomplex> (until C++17)<complex> (since C++17) and <cmath>: the overloads equivalent to the contents of the C header tgmath.h are already provided by those headers
#include   < cstdalign >          // (since C++11)(deprecated in C++17)   defines one compatibility macro constant
#include   < cstdbool >           // (since C++11)(deprecated in C++17)   defines one compatibility macro constant
#include   < thread >             // (since C++11)    std::thread class and supporting functions
#include   < mutex >              // (since C++11)    mutual exclusion primitives
#include   < future >             // (since C++11)    primitives for asynchronous computations
#include   < condition_variable >   // (since C++11)  thread waiting conditions
#endif
#if  __cplusplus  >=   201300L
#include   < shared_mutex >       // (since C++14)    shared mutual exclusion primitives
#endif
#if  __cplusplus  >=   201500L
#include   < any >                // (since C++17)    std::any class template
#include   < optional >           // (since C++17)    std::optional class template
#include   < variant >            // (since C++17)    std::variant class template
#include   < memory_resource >    // (since C++17)    Polymorphic allocators and memory resources
#include   < string_view >        // (since C++17)    std::basic_string_view class template
#include   < execution >          // (since C++17)    Predefined execution policies for parallel versions of the algorithms
#include   < filesystem >         // (since C++17)    std::path class and supporting functions
#endif

Lab curve v2/Mark sort/CppApplication_2/nbproject/private/launcher.properties

# Launchers File syntax: # # [Must-have property line] # launcher1.runCommand=<Run Command> # [Optional extra properties] # launcher1.displayName=<Display Name, runCommand by default> # launcher1.hide=<true if lancher is not visible in menu, false by default> # launcher1.buildCommand=<Build Command, Build Command specified in project properties by default> # launcher1.runDir=<Run Directory, ${PROJECT_DIR} by default> # launcher1.runInOwnTab=<false if launcher reuse common "Run" output tab, true by default> # launcher1.symbolFiles=<Symbol Files loaded by debugger, ${OUTPUT_PATH} by default> # launcher1.env.<Environment variable KEY>=<Environment variable VALUE> # (If this value is quoted with ` it is handled as a native command which execution result will become the value) # [Common launcher properties] # common.runDir=<Run Directory> # (This value is overwritten by a launcher specific runDir value if the latter exists) # common.env.<Environment variable KEY>=<Environment variable VALUE> # (Environment variables from common launcher are merged with launcher specific variables) # common.symbolFiles=<Symbol Files loaded by debugger> # (This value is overwritten by a launcher specific symbolFiles value if the latter exists) # # In runDir, symbolFiles and env fields you can use these macroses: # ${PROJECT_DIR} - project directory absolute path # ${OUTPUT_PATH} - linker output path (relative to project directory path) # ${OUTPUT_BASENAME}- linker output filename # ${TESTDIR} - test files directory (relative to project directory path) # ${OBJECTDIR} - object files directory (relative to project directory path) # ${CND_DISTDIR} - distribution directory (relative to project directory path) # ${CND_BUILDDIR} - build directory (relative to project directory path) # ${CND_PLATFORM} - platform name # ${CND_CONF} - configuration name # ${CND_DLIB_EXT} - dynamic library extension # # All the project launchers must be listed in the file! # # launcher1.runCommand=... # launcher2.runCommand=... # ... # common.runDir=... # common.env.KEY=VALUE # launcher1.runCommand=<type your run command here>

Lab curve v2/Mark sort/CppApplication_2/nbproject/private/Makefile-variables.mk

# # Generated - do not edit! # # NOCDDL # # Debug configuration # Release configuration

Lab curve v2/Mark sort/CppApplication_2/nbproject/private/private.xml

1 0 file:/C:/Users/Bebo/Desktop/Lab%20curve%20v2/Mark%20sort/CppApplication_2/main.cpp file:/C:/Users/Bebo/Desktop/Lab%20curve%20v2/Mark%20sort/CppApplication_2/mArray.h file:/C:/Users/Bebo/Desktop/Lab%20curve%20v2/Mark%20sort/CppApplication_2/mArray.cpp

Lab curve v2/Mark sort/CppApplication_2/nbproject/project.xml

org.netbeans.modules.cnd.makeproject CppApplication_2 cpp h UTF-8 Debug 1 Release 1 false

Lab curve v2/Mark sort/CppApplication_2/r.dat

37 2
32 1
37 1
42 1
47 1
52 1
57 1
62 1
67 1
72 1
77 1
82 1
87 1
92 1
97 1
102 1
107 1
112 1
117 1
122 1
127 1
132 1
137 1
142 1
147 1
152 1
157 1
162 1
167 1
172 1
177 1
182 1
187 1
192 1
197 1
202 1
207 1
212 1

Lab curve v2/Read me.txt

1) Curve fit the following 3 functions https://github.com/ml1150258/2019_Spring_CIS_CSC_17c/blob/master/Hmwk/DataForCurveFit17C.ods (Links to an external site.)Links to an external site. 2) Curve fit the data which will be produced for Wednesday using the Mark Sort Analysis Size N Operational Count Size N Execution Time (secs) 10^3 3x10^6 2x10^4 1 2x10^3 12x10^6 4x10^4 5 4x10^3 48x10^6 8x10^4 19 8x10^3 191x10^6 16x10^4 78 16x10^3 768x10^6 32x10^4 310 Put into spreadsheet and plot the data vs. the curve fit. Mark sort https://github.com/ml1150258/2019_Spring_CIS_CSC_17c/tree/master/Class/CurveFitLinearAlgebra_V2

Lab curve v2/Screenshot (1758).png