COMP 208: Computers in Engineering, Winter 2018, Assignment 4: Whiskey
VerifiedAdded on  2021/11/07
|4
|660
|101
Homework Assignment
AI Summary
This assignment solution addresses COMP 208: Computers in Engineering, focusing on whiskey production using a batch distillation column. The solution is divided into two parts. Part one involves numerical integration using the Trapezoidal rule and Simpson's 1/3 rule to evaluate a definite integral. Part two focuses on finding the roots of a function using the Bisection method. The code is written in C, implementing the necessary functions for each method, including the evaluation of the function f(x) = 1/x and the iterative process for root finding. The main function demonstrates the application of these methods, calculating and printing the results, including the value of the integral and the root of the function, with iterative steps for the bisection method.
1 out of 4