This project report details the analysis of an energy extraction device, focusing on a cylinder elastically mounted on an electricity generator. The study employs MATLAB simulations to predict the effects of varying parameters, such as the Keulegan-Carpenter number and damping coefficient, on displacement, vibration velocity, and power extraction. The project involves a critical analysis of hydrodynamic forces acting on the cylinder, including the derivation of the equation of motion using the Morison equation and Newton's second law. The numerical solutions are obtained using the fourth-order Runge-Kutta method. The results section presents the impact of varying KC numbers and damping coefficients on power extraction, velocity, and displacement, supported by MATLAB code and graphical representations. The second part of the project shifts to the hydrodynamic forces on a square cylinder, analyzing the flow using the Finite Difference Method (FDM) to solve the Navier-Stokes equation, with a focus on drag and lift forces and vortex shedding. The study provides insights into the design considerations for structures in water bodies, such as offshore wind and oil mining structures.