SlideShare a Scribd company logo
1 of 4
Download to read offline
Nepal College of Information Technology
Faculty of Science and Technology
Bachelor of Software Engineering
Lab Report On
Demonstrating Various
Mathematical Models
Candidate name
Nischal Lal Shrestha
Supervised by
Asst. P. Roshan Kumar Shah
February 3, 2019
Demonstrating Various Mathematical Models Nischal Lal Shrestha
1 Introduction
Mathematical modeling is the art of translating problems from an application area
into tractable mathematical formulations whose theoretical and numerical analysis
provides insight, answers, and guidance useful for the originating application.
Mathematical Modeling
• is indispensable in many applications.
• is successful in many further applications.
• gives precision and direction for problem solution.
• enables a thorough understanding of the system modeled.
2 Plotting Mathematical Models
We can use tools like Octave or Matlab to plot various mathematical models. By
plotting a mathematical models we can understand the system thoroughly.
2.1 Plotting Trigonometric Functions
1 % Title : Demonstrate Various Mathematical Models
2 % Author : Nischal Lal Shrestha
3 % Date : 6th Jan , 2019
4
5 c l e a r a l l ;
6 c l e a r var iables ;
7 c l c ;
8
9 % x ranges from 0 to 2 pi .
10 x = linspace (0 ,2∗ pi ,100) ;
11
12 y = sin (x) ;
13 z = cos (x) ;
14
15 f i g u r e ;
16
17 hold on ;
18 plot (x , y , ’ r ’ ) ;
19 plot (x , z , ’b ’ ) ;
20 t i t l e ( ’ Trigonometric Functions ’ ) ;
21 xlabel ( ’ angles ’ ) ;
22 ylabel ( ’ Sine and Cosine ’ ) ;
23 legend ( ’ Sine ’ , ’ Cosine ’ ) ;
24 grid on ;
25 hold o f f ;
Page 1
Demonstrating Various Mathematical Models Nischal Lal Shrestha
Figure 1: Plotting Sine and Cosine Function
2.2 Plotting Discrete Data Graph
1 % Title : Demonstrate Discrete Data Graph
2 % Author : Nischal Lal Shrestha
3 % Date : 6th Jan , 2019
4
5 c l e a r a l l ;
6 c l e a r var iables ;
7 c l c ;
8
9
10 t1 = linspace (0 , 1 , 100) ;
11 t2 = linspace (1 , 6 , 500) ;
12
13 y1 = t1 ;
14 y2 = 1./ t2 ;
15
16 t = [ t1 , t2 ] ;
17 y = [ y1 , y2 ] ;
18
19 f i g u r e ;
20
21 hold on ;
22 plot ( t , y) ;
23 t i t l e ( ’ Discrete Data Graph ’ ) ;
24
25 grid on ;
26 hold o f f ;
Page 2
Demonstrating Various Mathematical Models Nischal Lal Shrestha
Figure 2: Plotting Discrete Data Graph
3 Result, Conclusion and Discussion
In this lab, we have modeled trigonometric functions and discrete data graph. Model-
ing of mathematical theory gave us clear theoretical and analytic insights.
References
[1] MathWorks: Modeling and Simulation
https://www.mathworks.com/discovery/modeling-and-simulation.html
Page 3

More Related Content

What's hot

4 5 Exponential Growth And Decay
4 5 Exponential Growth And Decay4 5 Exponential Growth And Decay
4 5 Exponential Growth And Decay
silvia
 
Ch2.3 Linear Functions
Ch2.3 Linear FunctionsCh2.3 Linear Functions
Ch2.3 Linear Functions
mdicken
 

What's hot (13)

Introduction ML
Introduction MLIntroduction ML
Introduction ML
 
2.6 Curve Sketching Rcbhs
2.6 Curve Sketching Rcbhs2.6 Curve Sketching Rcbhs
2.6 Curve Sketching Rcbhs
 
Hprec5.2
Hprec5.2Hprec5.2
Hprec5.2
 
4 5 Exponential Growth And Decay
4 5 Exponential Growth And Decay4 5 Exponential Growth And Decay
4 5 Exponential Growth And Decay
 
Pca(principal components analysis)
Pca(principal components analysis)Pca(principal components analysis)
Pca(principal components analysis)
 
Efficient Immutable Data Structures (Okasaki for Dummies)
Efficient Immutable Data Structures (Okasaki for Dummies)Efficient Immutable Data Structures (Okasaki for Dummies)
Efficient Immutable Data Structures (Okasaki for Dummies)
 
Principal Component Analysis
Principal Component AnalysisPrincipal Component Analysis
Principal Component Analysis
 
Brian Lucena, Senior Data Scientist, Metis at MLconf SF 2016
Brian Lucena, Senior Data Scientist, Metis at MLconf SF 2016Brian Lucena, Senior Data Scientist, Metis at MLconf SF 2016
Brian Lucena, Senior Data Scientist, Metis at MLconf SF 2016
 
My powerpoint
My powerpointMy powerpoint
My powerpoint
 
Ch2.3 Linear Functions
Ch2.3 Linear FunctionsCh2.3 Linear Functions
Ch2.3 Linear Functions
 
Augmented Arithmetic Operations Proposed for IEEE-754 2018
Augmented Arithmetic Operations Proposed for IEEE-754 2018Augmented Arithmetic Operations Proposed for IEEE-754 2018
Augmented Arithmetic Operations Proposed for IEEE-754 2018
 
Calc 4.4a
Calc 4.4aCalc 4.4a
Calc 4.4a
 
PCA
PCAPCA
PCA
 

Similar to Demonstrating Various Mathematical Models

Scalable Constrained Spectral Clustering
Scalable Constrained Spectral ClusteringScalable Constrained Spectral Clustering
Scalable Constrained Spectral Clustering
1crore projects
 
Artifact3 allen
Artifact3 allenArtifact3 allen
Artifact3 allen
allent07
 
Artifact3 allen
Artifact3 allenArtifact3 allen
Artifact3 allen
allent07
 
Artifact3 allen
Artifact3 allenArtifact3 allen
Artifact3 allen
allent07
 
SupportVectorRegression
SupportVectorRegressionSupportVectorRegression
SupportVectorRegression
Daniel K
 

Similar to Demonstrating Various Mathematical Models (20)

COMPARISON OF WAVELET NETWORK AND LOGISTIC REGRESSION IN PREDICTING ENTERPRIS...
COMPARISON OF WAVELET NETWORK AND LOGISTIC REGRESSION IN PREDICTING ENTERPRIS...COMPARISON OF WAVELET NETWORK AND LOGISTIC REGRESSION IN PREDICTING ENTERPRIS...
COMPARISON OF WAVELET NETWORK AND LOGISTIC REGRESSION IN PREDICTING ENTERPRIS...
 
Scalable Constrained Spectral Clustering
Scalable Constrained Spectral ClusteringScalable Constrained Spectral Clustering
Scalable Constrained Spectral Clustering
 
Deep learning ppt
Deep learning pptDeep learning ppt
Deep learning ppt
 
Artifact3 allen
Artifact3 allenArtifact3 allen
Artifact3 allen
 
Artifact3 allen
Artifact3 allenArtifact3 allen
Artifact3 allen
 
Artifact3 allen
Artifact3 allenArtifact3 allen
Artifact3 allen
 
Learning multifractal structure in large networks (KDD 2014)
Learning multifractal structure in large networks (KDD 2014)Learning multifractal structure in large networks (KDD 2014)
Learning multifractal structure in large networks (KDD 2014)
 
Application of Calculus in Computer Science.pptx
Application of Calculus in Computer Science.pptxApplication of Calculus in Computer Science.pptx
Application of Calculus in Computer Science.pptx
 
Lesson 6 recursion
Lesson 6  recursionLesson 6  recursion
Lesson 6 recursion
 
Calculus_Early_Transcendentals,_second_Edition,_by_Sullivan_and.pdf
Calculus_Early_Transcendentals,_second_Edition,_by_Sullivan_and.pdfCalculus_Early_Transcendentals,_second_Edition,_by_Sullivan_and.pdf
Calculus_Early_Transcendentals,_second_Edition,_by_Sullivan_and.pdf
 
ENCRYPTION USING LESTER HILL CIPHER ALGORITHM
ENCRYPTION USING LESTER HILL CIPHER ALGORITHMENCRYPTION USING LESTER HILL CIPHER ALGORITHM
ENCRYPTION USING LESTER HILL CIPHER ALGORITHM
 
Control chart pattern recognition using k mica clustering and neural networks
Control chart pattern recognition using k mica clustering and neural networksControl chart pattern recognition using k mica clustering and neural networks
Control chart pattern recognition using k mica clustering and neural networks
 
K-means Clustering Method for the Analysis of Log Data
K-means Clustering Method for the Analysis of Log DataK-means Clustering Method for the Analysis of Log Data
K-means Clustering Method for the Analysis of Log Data
 
SupportVectorRegression
SupportVectorRegressionSupportVectorRegression
SupportVectorRegression
 
Exploring Support Vector Regression - Signals and Systems Project
Exploring Support Vector Regression - Signals and Systems ProjectExploring Support Vector Regression - Signals and Systems Project
Exploring Support Vector Regression - Signals and Systems Project
 
Domain Examination of Chaos Logistics Function As A Key Generator in Cryptogr...
Domain Examination of Chaos Logistics Function As A Key Generator in Cryptogr...Domain Examination of Chaos Logistics Function As A Key Generator in Cryptogr...
Domain Examination of Chaos Logistics Function As A Key Generator in Cryptogr...
 
AlgorithmsModelsNov13.pptx
AlgorithmsModelsNov13.pptxAlgorithmsModelsNov13.pptx
AlgorithmsModelsNov13.pptx
 
Image Steganography Based On Non Linear Chaotic Algorithm
Image Steganography Based On Non Linear Chaotic AlgorithmImage Steganography Based On Non Linear Chaotic Algorithm
Image Steganography Based On Non Linear Chaotic Algorithm
 
Matlab for beginners, Introduction, signal processing
Matlab for beginners, Introduction, signal processingMatlab for beginners, Introduction, signal processing
Matlab for beginners, Introduction, signal processing
 
Webinar on Graph Neural Networks
Webinar on Graph Neural NetworksWebinar on Graph Neural Networks
Webinar on Graph Neural Networks
 

More from Nischal Lal Shrestha

Comparative Analysis of ML and DL Models for Gender Prediction in Devanagari ...
Comparative Analysis of ML and DL Models for Gender Prediction in Devanagari ...Comparative Analysis of ML and DL Models for Gender Prediction in Devanagari ...
Comparative Analysis of ML and DL Models for Gender Prediction in Devanagari ...
Nischal Lal Shrestha
 

More from Nischal Lal Shrestha (6)

Comparative Analysis of ML and DL Models for Gender Prediction in Devanagari ...
Comparative Analysis of ML and DL Models for Gender Prediction in Devanagari ...Comparative Analysis of ML and DL Models for Gender Prediction in Devanagari ...
Comparative Analysis of ML and DL Models for Gender Prediction in Devanagari ...
 
A Real-time Classroom Attendance System Utilizing Viola–Jones for Face Detect...
A Real-time Classroom Attendance System Utilizing Viola–Jones for Face Detect...A Real-time Classroom Attendance System Utilizing Viola–Jones for Face Detect...
A Real-time Classroom Attendance System Utilizing Viola–Jones for Face Detect...
 
Demonstrating Various Mathematical Models
Demonstrating Various Mathematical ModelsDemonstrating Various Mathematical Models
Demonstrating Various Mathematical Models
 
Approximating Value of pi(Π) using Monte Carlo Iterative Method
Approximating Value of pi(Π) using Monte Carlo Iterative MethodApproximating Value of pi(Π) using Monte Carlo Iterative Method
Approximating Value of pi(Π) using Monte Carlo Iterative Method
 
A realtime classic chess game [proposal]
A realtime classic chess game [proposal]A realtime classic chess game [proposal]
A realtime classic chess game [proposal]
 
Election Portal - Web Design Competition Report(Ashish Tiwari, Nischal Lal Sh...
Election Portal - Web Design Competition Report(Ashish Tiwari, Nischal Lal Sh...Election Portal - Web Design Competition Report(Ashish Tiwari, Nischal Lal Sh...
Election Portal - Web Design Competition Report(Ashish Tiwari, Nischal Lal Sh...
 

Recently uploaded

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 

Recently uploaded (20)

Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 

Demonstrating Various Mathematical Models

  • 1. Nepal College of Information Technology Faculty of Science and Technology Bachelor of Software Engineering Lab Report On Demonstrating Various Mathematical Models Candidate name Nischal Lal Shrestha Supervised by Asst. P. Roshan Kumar Shah February 3, 2019
  • 2. Demonstrating Various Mathematical Models Nischal Lal Shrestha 1 Introduction Mathematical modeling is the art of translating problems from an application area into tractable mathematical formulations whose theoretical and numerical analysis provides insight, answers, and guidance useful for the originating application. Mathematical Modeling • is indispensable in many applications. • is successful in many further applications. • gives precision and direction for problem solution. • enables a thorough understanding of the system modeled. 2 Plotting Mathematical Models We can use tools like Octave or Matlab to plot various mathematical models. By plotting a mathematical models we can understand the system thoroughly. 2.1 Plotting Trigonometric Functions 1 % Title : Demonstrate Various Mathematical Models 2 % Author : Nischal Lal Shrestha 3 % Date : 6th Jan , 2019 4 5 c l e a r a l l ; 6 c l e a r var iables ; 7 c l c ; 8 9 % x ranges from 0 to 2 pi . 10 x = linspace (0 ,2∗ pi ,100) ; 11 12 y = sin (x) ; 13 z = cos (x) ; 14 15 f i g u r e ; 16 17 hold on ; 18 plot (x , y , ’ r ’ ) ; 19 plot (x , z , ’b ’ ) ; 20 t i t l e ( ’ Trigonometric Functions ’ ) ; 21 xlabel ( ’ angles ’ ) ; 22 ylabel ( ’ Sine and Cosine ’ ) ; 23 legend ( ’ Sine ’ , ’ Cosine ’ ) ; 24 grid on ; 25 hold o f f ; Page 1
  • 3. Demonstrating Various Mathematical Models Nischal Lal Shrestha Figure 1: Plotting Sine and Cosine Function 2.2 Plotting Discrete Data Graph 1 % Title : Demonstrate Discrete Data Graph 2 % Author : Nischal Lal Shrestha 3 % Date : 6th Jan , 2019 4 5 c l e a r a l l ; 6 c l e a r var iables ; 7 c l c ; 8 9 10 t1 = linspace (0 , 1 , 100) ; 11 t2 = linspace (1 , 6 , 500) ; 12 13 y1 = t1 ; 14 y2 = 1./ t2 ; 15 16 t = [ t1 , t2 ] ; 17 y = [ y1 , y2 ] ; 18 19 f i g u r e ; 20 21 hold on ; 22 plot ( t , y) ; 23 t i t l e ( ’ Discrete Data Graph ’ ) ; 24 25 grid on ; 26 hold o f f ; Page 2
  • 4. Demonstrating Various Mathematical Models Nischal Lal Shrestha Figure 2: Plotting Discrete Data Graph 3 Result, Conclusion and Discussion In this lab, we have modeled trigonometric functions and discrete data graph. Model- ing of mathematical theory gave us clear theoretical and analytic insights. References [1] MathWorks: Modeling and Simulation https://www.mathworks.com/discovery/modeling-and-simulation.html Page 3