Question: Can you please write me a C++ program in codeblocks for this problem? Thank you. . (Physics) Torque is a measure of the twisting force
Can you please write me a C++ program in codeblocks for this problem? Thank you.

. (Physics) Torque is a measure of the twisting force on an object-for example, applying force wrench's handle to tighten or loosen a bolt or nut (see Figure 6.8). (In mechanical engi- to a ring, torque is called the moment of force, or moment, for short.) Torque is determined by nee using this formula: T'is the torque (N-m or ft-lbf). r is the lever length (m or ft). F is the applied force (N or lbf). e is the angle between the lever and applied force (radians). Figure 6.8 The torque applied by a wrench a. Using this formula, write a function named void torque (double dist, double force, double angle) that accepts the length of a wrench, the force applied, and the angle between the wrench and force in degrees. The function should convert the angle to radians (180 degrees- radians), calculate the applied torque, and return the computed value. b. Include the function written in Exercise 6a in a working program. Make sure your function is called from main(). Test the function by passing various data to it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
