SlideShare uma empresa Scribd logo
1 de 4
 Name Bilal Maqbool
Department CS&IT
Class SE-I (2011-15)
Roll # 10
Assignment C++ Programs
Submitted to Sir. Amir kamal
Abassi
Date 11/02/12
Day Monday
University University of Azad
Jammu & Kashmir
Subject Calculus and Analytical Geometry
 Write down the procedure in C++ for plotting the data in a table.
#include <iostream.h>
#include <conio.h>
void line ()
{
for (int i = 1; i<=60; i++)
{
cout<<"_";
}
cout<< endl;
}
void main ()
{
int x,y;
int a[2][8];
for(x=0; x<2; x++)
{
for(y=0; y<8; y++)
{
cout << "Enter Elements in Row "<<(x+1)<<" "<<" Column "<<(y+1)<<" = ";
cin>> a[x][y];
}
cout<<endl;
}
line();
for(x=0; x<2; x++)
{
if(x==0)
{
cout<<" x ";
}
else
{
cout<<" y ";
}
for(y=0; y<8; y++)
{
cout <<"| "<< a[x][y] << "t";
}
cout<<endl;
}
line();
getch();
}
Output
Enter Elements of Row 1 Column 1 = 1
Enter Elements of Row 1 Column 2 = 2
Enter Elements of Row 1 Column 3 = 3
Enter Elements of Row 1 Column 4 = 4
Enter Elements of Row 1 Column 5 = 5
Enter Elements of Row 1 Column 6 = -1
Enter Elements of Row 1 Column 7 = -2
Enter Elements of Row 1 Column 8 = -3
Enter Elements of Row 2 Column 1 = 1
Enter Elements of Row 2 Column 2 = 4
Enter Elements of Row 2 Column 3 = 9
Enter Elements of Row 2 Column 4 = 16
Enter Elements of Row 2 Column 5 = 25
Enter Elements of Row 2 Column 6 = 1
Enter Elements of Row 2 Column 7 = 4
Enter Elements of Row 2 Column 8 = 9
__________________________________________
| x | 1 | 2 | 3 | 4 | 5 | -1 | -2 | -3 |
| y | 1 | 4 | 9 | 16 | 25 | 1 | 4 | 9 |
__________________________________________
 Write down the C++ program for finding dy
/dx if y=x2
+2x+3

Mais conteúdo relacionado

Mais procurados

Bti1022 lab sheet 9 10
Bti1022 lab sheet 9 10Bti1022 lab sheet 9 10
Bti1022 lab sheet 9 10alish sha
 
Ex1 d sketchlinfuncs
Ex1 d sketchlinfuncsEx1 d sketchlinfuncs
Ex1 d sketchlinfuncsgiovanniL
 
8th pre alg -l9
8th pre alg -l98th pre alg -l9
8th pre alg -l9jdurst65
 
7th pre alg -l9
7th pre alg -l97th pre alg -l9
7th pre alg -l9jdurst65
 
Mth 518 report grapes_garachico
Mth 518 report grapes_garachicoMth 518 report grapes_garachico
Mth 518 report grapes_garachicoAji Garachico
 
[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...
[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...
[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...Mumbai B.Sc.IT Study
 
SQL – 2 (May - 2018) [IDOL: Old Course | Question Paper]
SQL – 2 (May - 2018) [IDOL: Old Course | Question Paper]SQL – 2 (May - 2018) [IDOL: Old Course | Question Paper]
SQL – 2 (May - 2018) [IDOL: Old Course | Question Paper]Mumbai B.Sc.IT Study
 
Mb 106 quantitative techniques 10
Mb 106 quantitative techniques 10Mb 106 quantitative techniques 10
Mb 106 quantitative techniques 10KrishnaRoy45
 
Rectangular Coordinates, Introduction to Graphing Equations
Rectangular Coordinates, Introduction to Graphing EquationsRectangular Coordinates, Introduction to Graphing Equations
Rectangular Coordinates, Introduction to Graphing EquationsSandyPoinsett
 
Lumpkin Graphing functions
Lumpkin Graphing functionsLumpkin Graphing functions
Lumpkin Graphing functionsrenialumpkin
 
Examen du seconde semestre g8
Examen du seconde semestre g8Examen du seconde semestre g8
Examen du seconde semestre g8zeinabze
 
4.1 coordinate plane 2
4.1 coordinate plane   24.1 coordinate plane   2
4.1 coordinate plane 2bweldon
 

Mais procurados (19)

Homework
HomeworkHomework
Homework
 
Homework
HomeworkHomework
Homework
 
Bti1022 lab sheet 9 10
Bti1022 lab sheet 9 10Bti1022 lab sheet 9 10
Bti1022 lab sheet 9 10
 
Graph plotting using GeoGebra
Graph plotting using GeoGebraGraph plotting using GeoGebra
Graph plotting using GeoGebra
 
Ex1 d sketchlinfuncs
Ex1 d sketchlinfuncsEx1 d sketchlinfuncs
Ex1 d sketchlinfuncs
 
8th pre alg -l9
8th pre alg -l98th pre alg -l9
8th pre alg -l9
 
7th pre alg -l9
7th pre alg -l97th pre alg -l9
7th pre alg -l9
 
Mississauga Interlocking Paver Estimate Worksheet
Mississauga Interlocking Paver Estimate WorksheetMississauga Interlocking Paver Estimate Worksheet
Mississauga Interlocking Paver Estimate Worksheet
 
Mth 518 report grapes_garachico
Mth 518 report grapes_garachicoMth 518 report grapes_garachico
Mth 518 report grapes_garachico
 
[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...
[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...
[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...
 
Function tables
Function tablesFunction tables
Function tables
 
SQL – 2 (May - 2018) [IDOL: Old Course | Question Paper]
SQL – 2 (May - 2018) [IDOL: Old Course | Question Paper]SQL – 2 (May - 2018) [IDOL: Old Course | Question Paper]
SQL – 2 (May - 2018) [IDOL: Old Course | Question Paper]
 
Mb 106 quantitative techniques 10
Mb 106 quantitative techniques 10Mb 106 quantitative techniques 10
Mb 106 quantitative techniques 10
 
Rectangular Coordinates, Introduction to Graphing Equations
Rectangular Coordinates, Introduction to Graphing EquationsRectangular Coordinates, Introduction to Graphing Equations
Rectangular Coordinates, Introduction to Graphing Equations
 
Lumpkin Graphing functions
Lumpkin Graphing functionsLumpkin Graphing functions
Lumpkin Graphing functions
 
Examen du seconde semestre g8
Examen du seconde semestre g8Examen du seconde semestre g8
Examen du seconde semestre g8
 
4.1 coordinate plane 2
4.1 coordinate plane   24.1 coordinate plane   2
4.1 coordinate plane 2
 
A02
A02A02
A02
 
Product rule
Product ruleProduct rule
Product rule
 

Destaque

Ethical e-Marketing
Ethical e-MarketingEthical e-Marketing
Ethical e-MarketingThom. Poole
 
E Marketing Ethical and Legal Issues
E Marketing Ethical and Legal IssuesE Marketing Ethical and Legal Issues
E Marketing Ethical and Legal Issueskarthik indrajit
 
Traditional marketing vs e-marketing..
Traditional marketing vs e-marketing..Traditional marketing vs e-marketing..
Traditional marketing vs e-marketing..Amit Gupta
 

Destaque (8)

E-environment
E-environmentE-environment
E-environment
 
Ethical e-Marketing
Ethical e-MarketingEthical e-Marketing
Ethical e-Marketing
 
Online Marketing Environment
Online Marketing EnvironmentOnline Marketing Environment
Online Marketing Environment
 
E Marketing Ch9 Differentiation Positioning
E Marketing Ch9 Differentiation PositioningE Marketing Ch9 Differentiation Positioning
E Marketing Ch9 Differentiation Positioning
 
E Marketing Ethical and Legal Issues
E Marketing Ethical and Legal IssuesE Marketing Ethical and Legal Issues
E Marketing Ethical and Legal Issues
 
Differentiation and Positioning
Differentiation and PositioningDifferentiation and Positioning
Differentiation and Positioning
 
Traditional marketing vs e-marketing..
Traditional marketing vs e-marketing..Traditional marketing vs e-marketing..
Traditional marketing vs e-marketing..
 
Emarketing ppt
Emarketing pptEmarketing ppt
Emarketing ppt
 

Semelhante a Math assignment Program

2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CSAAKASH KUMAR
 
Lista Plantão 03 - 7º ano
Lista Plantão 03 - 7º anoLista Plantão 03 - 7º ano
Lista Plantão 03 - 7º anoProf. Materaldo
 
Computer Science CS Project Matrix CBSE Class 12th XII .pdf
Computer Science CS Project Matrix CBSE Class 12th XII .pdfComputer Science CS Project Matrix CBSE Class 12th XII .pdf
Computer Science CS Project Matrix CBSE Class 12th XII .pdfPranavAnil9
 
09 a1ec01 c programming and data structures
09 a1ec01 c programming and data structures09 a1ec01 c programming and data structures
09 a1ec01 c programming and data structuresjntuworld
 
Computer Science Sample Paper 2
Computer Science Sample Paper 2Computer Science Sample Paper 2
Computer Science Sample Paper 2kvs
 
Idea for ineractive programming language
Idea for ineractive programming languageIdea for ineractive programming language
Idea for ineractive programming languageLincoln Hannah
 
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CSAAKASH KUMAR
 
programming in C++ report
programming in C++ reportprogramming in C++ report
programming in C++ reportvikram mahendra
 
Updated Lab3.docx
Updated Lab3.docxUpdated Lab3.docx
Updated Lab3.docxAleezaAnjum
 
1 fichas refuerzo operaciones combinadas numeros
1 fichas refuerzo operaciones combinadas numeros1 fichas refuerzo operaciones combinadas numeros
1 fichas refuerzo operaciones combinadas numerosBea Marfer
 
Computer science ms
Computer science msComputer science ms
Computer science msB Bhuvanesh
 

Semelhante a Math assignment Program (20)

R Programming Intro
R Programming IntroR Programming Intro
R Programming Intro
 
Arrays in C
Arrays in CArrays in C
Arrays in C
 
C++ TUTORIAL 5
C++ TUTORIAL 5C++ TUTORIAL 5
C++ TUTORIAL 5
 
CP Handout#9
CP Handout#9CP Handout#9
CP Handout#9
 
2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
 
Lista Plantão 03 - 7º ano
Lista Plantão 03 - 7º anoLista Plantão 03 - 7º ano
Lista Plantão 03 - 7º ano
 
Computer Science CS Project Matrix CBSE Class 12th XII .pdf
Computer Science CS Project Matrix CBSE Class 12th XII .pdfComputer Science CS Project Matrix CBSE Class 12th XII .pdf
Computer Science CS Project Matrix CBSE Class 12th XII .pdf
 
09 a1ec01 c programming and data structures
09 a1ec01 c programming and data structures09 a1ec01 c programming and data structures
09 a1ec01 c programming and data structures
 
Computer Science Sample Paper 2
Computer Science Sample Paper 2Computer Science Sample Paper 2
Computer Science Sample Paper 2
 
Idea for ineractive programming language
Idea for ineractive programming languageIdea for ineractive programming language
Idea for ineractive programming language
 
Qno 1 (d)
Qno 1 (d)Qno 1 (d)
Qno 1 (d)
 
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
 
Arrays
ArraysArrays
Arrays
 
programming in C++ report
programming in C++ reportprogramming in C++ report
programming in C++ report
 
L5 array
L5 arrayL5 array
L5 array
 
Matlab-1.pptx
Matlab-1.pptxMatlab-1.pptx
Matlab-1.pptx
 
Updated Lab3.docx
Updated Lab3.docxUpdated Lab3.docx
Updated Lab3.docx
 
Python basics
Python basicsPython basics
Python basics
 
1 fichas refuerzo operaciones combinadas numeros
1 fichas refuerzo operaciones combinadas numeros1 fichas refuerzo operaciones combinadas numeros
1 fichas refuerzo operaciones combinadas numeros
 
Computer science ms
Computer science msComputer science ms
Computer science ms
 

Mais de Bilal Maqbool ツ (20)

Dld lecture module 01
Dld lecture module 01Dld lecture module 01
Dld lecture module 01
 
Complement
ComplementComplement
Complement
 
Chapter10
Chapter10Chapter10
Chapter10
 
Uncdtalk
UncdtalkUncdtalk
Uncdtalk
 
Okkkkk
OkkkkkOkkkkk
Okkkkk
 
Good
GoodGood
Good
 
Dld lecture module 06
Dld lecture module 06Dld lecture module 06
Dld lecture module 06
 
Dld lecture module 05
Dld lecture module 05Dld lecture module 05
Dld lecture module 05
 
Dld lecture module 04 01
Dld lecture module 04  01Dld lecture module 04  01
Dld lecture module 04 01
 
Dld lecture module 03
Dld lecture module 03Dld lecture module 03
Dld lecture module 03
 
Dld lecture module 02
Dld lecture module 02Dld lecture module 02
Dld lecture module 02
 
Lecture 3 report writtng
Lecture 3 report writtngLecture 3 report writtng
Lecture 3 report writtng
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Lecture 1 report writing
Lecture 1 report writingLecture 1 report writing
Lecture 1 report writing
 
Bill gates
Bill gatesBill gates
Bill gates
 
Programming assignment 02 (bilal maqbool 10) 2011
Programming assignment 02    (bilal maqbool 10) 2011Programming assignment 02    (bilal maqbool 10) 2011
Programming assignment 02 (bilal maqbool 10) 2011
 
Programming assignment 30 12-11
Programming assignment 30 12-11Programming assignment 30 12-11
Programming assignment 30 12-11
 
Internet presentation
Internet presentationInternet presentation
Internet presentation
 
Presentation internet programming report
Presentation internet programming reportPresentation internet programming report
Presentation internet programming report
 
Magnetic storage devices
Magnetic storage devicesMagnetic storage devices
Magnetic storage devices
 

Último

ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 

Último (20)

ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 

Math assignment Program

  • 1.  Name Bilal Maqbool Department CS&IT Class SE-I (2011-15) Roll # 10 Assignment C++ Programs Submitted to Sir. Amir kamal Abassi Date 11/02/12 Day Monday University University of Azad Jammu & Kashmir Subject Calculus and Analytical Geometry
  • 2.  Write down the procedure in C++ for plotting the data in a table. #include <iostream.h> #include <conio.h> void line () { for (int i = 1; i<=60; i++) { cout<<"_"; } cout<< endl; } void main () { int x,y; int a[2][8]; for(x=0; x<2; x++) { for(y=0; y<8; y++) { cout << "Enter Elements in Row "<<(x+1)<<" "<<" Column "<<(y+1)<<" = "; cin>> a[x][y]; } cout<<endl; } line(); for(x=0; x<2; x++) { if(x==0) { cout<<" x "; } else { cout<<" y "; } for(y=0; y<8; y++) { cout <<"| "<< a[x][y] << "t"; } cout<<endl; } line(); getch(); }
  • 3. Output Enter Elements of Row 1 Column 1 = 1 Enter Elements of Row 1 Column 2 = 2 Enter Elements of Row 1 Column 3 = 3 Enter Elements of Row 1 Column 4 = 4 Enter Elements of Row 1 Column 5 = 5 Enter Elements of Row 1 Column 6 = -1 Enter Elements of Row 1 Column 7 = -2 Enter Elements of Row 1 Column 8 = -3 Enter Elements of Row 2 Column 1 = 1 Enter Elements of Row 2 Column 2 = 4 Enter Elements of Row 2 Column 3 = 9 Enter Elements of Row 2 Column 4 = 16 Enter Elements of Row 2 Column 5 = 25 Enter Elements of Row 2 Column 6 = 1 Enter Elements of Row 2 Column 7 = 4 Enter Elements of Row 2 Column 8 = 9 __________________________________________ | x | 1 | 2 | 3 | 4 | 5 | -1 | -2 | -3 | | y | 1 | 4 | 9 | 16 | 25 | 1 | 4 | 9 | __________________________________________
  • 4.  Write down the C++ program for finding dy /dx if y=x2 +2x+3