Which of the following function is used to calculate the square root of a number
SQT( )
SRT( )
PMT( )
SQRT( )
Answers
Answered by
0
Answer is SQRT()
sqrt() function is an inbuilt function in Python programming language that returns the square root of any number. Syntax: math. sqrt(x) Parameter: x is any number such that x>=0 Returns: It returns the square root of the number passed in the parameter
this is how can can do programming
#include<stdio.h>
void main()
{
int n; //user will enter d no.
float temp,sqt;
printf(“Enter d no.”);
scanf(“%d”,&n);
sqt=n/2;
temp=0;
while(sqt!=temp)
{
temp=sqt;
sqt=(n/temp+temp)/2;
}
printf(“the square root of %d is%f”,n,sqt);
}
Similar questions
Social Sciences,
1 day ago
Geography,
3 days ago
History,
3 days ago
Math,
8 months ago
Math,
8 months ago