# Introduction In this lab, you will learn how to compute the cosine of an angle in C programming. The lab covers the following steps: reading the angle in radians, using the `cos()` function from the `math.h` library to calculate the cosine, and printing the resulting cosine value. By the end of this lab, you will have a solid understanding of how to perform trigonometric calculations using C. The lab provides a step-by-step guide, starting with prompting the user to enter an angle in radians, then demonstrating how to use the `cos()` function to compute the cosine of the given angle, and finally, printing the calculated cosine value.
Click the virtual machine below to start practicing