Final Cs
Final Cs
EXPERIMENTAL HIGH
SCHOOL
• NAME: AYAN SAHA
• CLASS: XII
• SEC: Science-Bengali
• ROLL: 10
• REG. NO.: 201371N-0114
• SUB: COMPUTER SCIENCE
1
TABLE OF CONTENTS
1. Acknowledgement
2. HTML
3. Implementation of Simpson's 1/3rd rule by using C
4. Bonafied Cirtificate
2
Acknowledgement
I am indebted to our honorable Head Mistress Smt.
Chhanda Biswas. I am also grateful to my teachers and
project guide whose support made my project-based
learning quite joyful. He’s encouraging words monitoring
simulated me to complete the project work. I would also
like to thank my parents and for encouraging me during
the course of this project. Finally, I would like to thank
WBBSE for giving me this opportunity to undertake this
process.
__________________________
Signature of the student
3
HTML
HTML code for making a website for Kalyani
University Experimental High School.
4
<HTML>
<HEAD>
<TITLE>
WELCOME TO K.U.E.H.S
</TITLE>
</HEAD>
<BODY BGCOLOR=white>
<FONT COLOR =GREEN FONT SIZE=3 FONT STYLE=Algerian>
<P align=CENTER>
<H1><U><B><I>TO KNOW ABOUT US CLICK ON THE LOGO GIVEN BELOW
</I></B></U></H1>
<FONT COLOR =BLUE FONT SIZE=7 FONT STYLE=Comic Sans MS>
<P align=CENTER>
<a href="csprojects.pdf"><img src="1621592723785.JPEG" height=60%
width=20%></a>
</P>
</FONTS>
</P>
</FONT>
</BODY>
</HTML>
5
OUTPUT
6
1st Page of the website
7
2nd Page of the website after click on the logo
8
C PROGRAMMING
9
#include<stdio.h>
#include<conio.h>
#include<math.h>
#define f(x) 1/(1+x*x)
int main()
{
float lower, upper, integration=0.0, stepSize, k;
int i, subInterval;
printf("Enter lower limit of integration: ");
scanf("%f", &lower);
printf("Enter upper limit of integration: ");
scanf("%f", &upper);
10
printf("Enter number of sub intervals: ");
scanf("%d", &subInterval);
stepSize = (upper - lower)/subInterval;
integration = f(lower) + f(upper);
for(i=1; i<= subInterval-1; i++) { k = lower + i*stepSize;
if(i%2==0) { integration = integration + 2 * f(k);
} else { integration = integration + 4 * f(k);
}
}
integration = integration * stepSize/3;
printf("\nRequired value of integration is: %.3f", integration); getch(); return 0;} 11
OUTPUT
12
BONAFIED CIRTIFICATE
__________________________
Signature of the Teacher
13