Question: Can you do this in codeblocks please and post answer. 6. (Physics) Torque is a measure of the tw isting force on an object-for example,

Can you do this in codeblocks please and post answer.
6. (Physics) Torque is a measure of the tw isting force on an object-for example, applying force to a wrench's handle to tighten or loosen a bolt or nut (see Figure 6.8). (In mechanical eng i- nering, c using this formula: torque is called the moment of force, or moment, for short.) Torque is determined by 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). 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
