Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

can someone show me how todo this problem step by step? 1. Convert the following

ID: 3575609 • Letter: C

Question


can someone show me how todo this problem step by step?

1. Convert the following mathematics expressions to cexpressions. use the declarations provided indicate the appropriate header file for any library function used. Be sure you initialize any variables whose values you are using to reasonable values for the library functions you are using int x, y: //declaration for a) and b) a) y x b) y l xl double x, y, z, area declaration for e) through e). c) a x1.6 d) z area Varea ie) p x2 y Your Answer: 2. write code that declares x, y, and z as double variables. Then write code that causes z to be assigne the result of x divided by y, rounded as indicated below. Be sure to sinclude the header file that decla

Explanation / Answer

Answer for First Problem :-

#include<stdio.h>

#include<math.h>

int main()

{

double x,y,z,p,area;
printf("Enter x value : ");
scanf("%lf",&x); // enter x value -> it reads the x value
y=(x*x*x);
z=(x*1.6);
printf("The y value is %lf ",y);
printf("The z value is %lf ",z); // prints the z value;
printf("Enter area : ");
scanf("%lf",&area); //enter area value.
z=area*(sqrt(area));
printf("The z value is %lf ",z); // prints the z value;
p=((x*x)+y)/((x*x)-y);
printf("The p value is %lf",p); // prints the p value;

return 0;

}

Answer for Second Problem :-

#include<stdio.h>
int main()
{

double x,y,z;
printf("Enter x value and y value: ");
scanf("%lf%lf",&x,&y); // it reads the x value and y values
z=(x/y);
printf("The z value is %lf ",z); //prints z value.

return 0;

}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote