0% found this document useful (0 votes)
3 views2 pages

Practical 8

The document outlines an algorithm and flowchart for solving a quadratic equation of the form ax^2 + bx + c. It details steps for calculating the discriminant and finding the roots based on its value. Additionally, it includes a practical record for a computer science program conducted at Kendriya Vidyalaya on a specific date.

Uploaded by

Tiyasa Mahapatra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Practical 8

The document outlines an algorithm and flowchart for solving a quadratic equation of the form ax^2 + bx + c. It details steps for calculating the discriminant and finding the roots based on its value. Additionally, it includes a practical record for a computer science program conducted at Kendriya Vidyalaya on a specific date.

Uploaded by

Tiyasa Mahapatra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

T' , . .

--
---t
l
Algorithm & Flo"lV Chart: t
'\ I--.
step \ : S+<4(+ " $t o.r+
j S te.p 2: (eo. ~ ~ ) b) c ~

Sttr '3: pri(lt o..x2+ bx + c L


S+ep 4: ,-C D» 0 L
r 7
C\) 'f es / yriflt llAX 2-+ ~x -+ c)/
V"I':: -bt SO/2/).. ~

V'2 ; -b- JO/2I)" L


r<in+ (V"I>r~)
l
b) NO / ~o

i) is o= 0
,/
h
/ f\ e, '2. = -b/l~,;.
;

1 L
L-
-pV'i()+ (\"1) V"l ) 'Irs ' I~ wO ,......,.
i;) e tse r D::O
-r-,
p'fio+ I
,
-""'
StepS: S+o iV" ;:--b/2f1t
y'
I
I.
'v
(--
I
p>rint(f\) rl.} /'

rrlt'l~ (r )
I ---I

Output: ,=
en+elf lo~ci~YT~ ~ xl: I /
€ntel[ c.oe{ficient ~ x : 4
enter (on~t~n~ +efrYI·. 5
't\4CAd f~h'c. t'tu ahoY! is: I x2.·Ho{ ~o
(00\ s ~'(e iM~~it'\(A'I'~

Computer Sc. Practical Record


~- .. ----
Program No: 1 Kendriya VidyalayalISc Date: 24· s. l'l

2..0\
'2._ 40.c

'* 0..* c

Computer Sc. Practical Record Page No: '6


----....•,-

You might also like