Answer:
PROGRAM QuadraticEquation
Solver
IMPLICIT NONE
REAL :: a, b, c
;
REA :: d
;
REAL :: root1, root2
;
//read in the coefficients a, b and c
READ(*,*) a, b, c
WRITE(*,*) 'a = ', a
WRITE(*,*) 'b = ', b
WRITE(*,*) 'c = ', c
WRITE(*,*)
// computing the square root of discriminant d
d = b*b - 4.0*a*c
IF (d >= 0.0) THEN //checking if it is solvable?
d = SQRT(d)
root1 = (-b + d)/(2.0*a) // first root
root2 = (-b - d)/(2.0*a) // second root
WRITE(*,*) 'Roots are ', root1, ' and ', root2
ELSE //complex roots
WRITE(*,*) 'There is no real roots!'
WRITE(*,*) 'Discriminant = ', d
END IF
END PROGRAM QuadraticEquationSolver
Answer:
The three Linux distributions are Arch Linux, Ubuntu and Fedora. In order to get more detailed information go to the wikipedia page of comparision of linux distributions.
Strengths and Features of these three are attached.
The two linux newsgroups are
1) Comp.os.linux.announce
2)comp.os.linux.networking
Explanation:
A relative URL is a type of URL that gives an abbreviated path to a resource by using the current webpage as a starting position.
<h3>What is a
relative URL?</h3>
A relative URL can be defined as a type of URL that doesn't contain or use the full address of a website, but only the path (location) following the domain name.
This ultimately implies that, a relative URL is a type of URL that gives an abbreviated path (location) to a web resource by using the current webpage as a starting position.
Read more on relative URL here: brainly.com/question/26670945
#SPJ12
Answer:
Explanation:
def indexOfMax(lis):
m = max(lis)
indx=0
for i in range(len(lis)):
if lis[i]==m:
indx=i
break
return indx
print(indexOfMax([1,5,8,23,78,22,0]))
Answer:
All of the mentioned views could be looked as an additional layer in the table which enables us to protect intricate or sensitive data based upon our needs.
Explanation:
View is a virtual table which executed a pre compiled query. It is a table in which selective portion of the data can be seen from one or more tables. Queries are not allowed in indexed views and adding column is not possible. Views can be looked as an additional layer in the virtual table which protects sensitive data.