Question: only 3,5 and 7 needed III. Overview & Requirements: Write a C program that evaluates the equations provided below. All equations should be placed in

 only 3,5 and 7 needed III. Overview & Requirements: Write aonly 3,5 and 7 needed

III. Overview & Requirements: Write a C program that evaluates the equations provided below. All equations should be placed in a single project! The program must prompt the user for inputs to the equations and evaluate them based on the inputs. All variables on the right hand sides of the equations must be inputted by the user. All variables, except for the plaintext_character, encoded_character, offset, and variable a are floating-point values. The plaintext_character and encoded_character variables are characters, and the offset and a variable are integers. PI, G must be defined as a constant macros (#defined constants). Error checking is NOT required for your program. You do NOT need to check for faulty user input or dividing by zero. 1. Newton's Second Law of Motion: force = mass * acceleration 2. Volume of a cylinder: volume_cylinder - Pl" radius2 height 3. Character encoding: encoded_character = offset + (plaintext_character - 'a') + 'A' (note: what happens if plaintext_character is lowercase?) 4. Gravity: force = G * mass1 * mass2 / distance, where G is the gravitational constant with value 6.67 10-11 5. Resistive divider: vout = r2 / (r1 + r2) vin 6. Distance between two points: distance = square root of ((x1 - x2)2 + (y1 - y2)) (note: you will need to use sqrt() out of ) 7. General equation: y =(89 / 27). Z*x + a / (a % 2) (recall: a is an integer; the 89 and 27 constants in the equation should be left as integers initially, but explicitly type- casted as floating point values)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!