blob: fbbcc2f79071022a1e9d6e6c2fd3098003010319 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
////Given
b=-32
a=32.0
c=1
//Calculation
//
r=(-b+(sqrt(b**2-(4*a*c))))/(2.0*a)
//Result
printf("\n The ratio of E/V0 = %0.3f ",r*10**0)
printf("\n -ve value is not possible. ")
|