CSCI 1312 (Introduction to Programming for Engineering), Fall 2018:
Homework 6 Solution (Programming Problems)
(20 points)
Refer to assignment for description of problem.
Solution:
Here is one solution:
words.c
.
(20 points)
Refer to assignment for description of problem.
Solution:
Here is one solution:
estimate-pi-2.c
.
Input files
estimate-pi-in.dat
and
estimate-pi.plotin
Resulting plot (and yes, some of those values for large numbers of slices
are
puzzling).
estimate-pi.png
.
Berna Massingill
2018-11-19