Write a program the following equation: Y = (x^5(√(10-x^5))/3)
Program:
#include<stdio.h>
#include<math.h>
main()
{
float x, y;
printf("X= ");
scanf("%f", &x);
y=pow(x,5)*sqrt((10-pow(x,5))/3);
printf("Y= %f", y);
}
#include<math.h>
main()
{
float x, y;
printf("X= ");
scanf("%f", &x);
y=pow(x,5)*sqrt((10-pow(x,5))/3);
printf("Y= %f", y);
}