Numerical Method Lab
Lab report # 01
Prepared By:
Haider Murtaza (20 – ME – 193)
Section: A
Submitted To:
Sir Ahmed Zaheer
Overview;
MATLAB is an abbreviation of "matrix laboratory". It is a programming
platform designed specifically for engineers and scientists. MATLAB is
primarily for numerical computing. The heart of MATLAB is the
MATLAB language, a matrix based language allowing the most natural
expression of computational mathematics.
Features;
1. It can Analyze data 2. App Building
3. Develop algorithms 4. Data Import and Analysis
5. Create models and applications 6. Data Visualization
7. Predict a functions behavior
8. Software Development
under specified limits
Uses;
1. Millions of engineers
2. Image and video processing
and scientists
3. Machine learning 4. Control systems
5. Signal processing 6. Test and measurement
7. Communications 8. Computational finance
Applications;
1. Automotive 2. Financial Services
4. Industrial Automation and
3. Biological Sciences
Machinery
5. Biotech and Pharmaceutical 6. Medical Devices
7. Chemicals and Petrochemical 8. Materials, and Mining
9. Communications 10. Neuroscience
11. Electronics 12. Railway Systems
13. Earth, Ocean, and Atmospheric
14. Semiconductors
Sciences
15. Energy Production 16. Software and Internet
Solve this system of equations using 3 different
methods in MATLAB;
𝑥+𝑦+𝑧=1
𝑥–𝑦–𝑧=2
𝑥 + 2𝑦 + 3𝑧 = 3
Plot these functions using MATLAB in the given
interval;
a) 𝒚 = 𝒙𝟒 - 𝟐𝒙𝟐 + 𝟖 (Interval: [-20, 50])
b) Two equations on the same graph;
(Interval: [- 2π, 2π]; Increment: π/10)
a.𝒚 = 𝟒 𝐬𝐢𝐧(𝒙)
b.𝒚 = 𝟔 𝐜𝒐𝒔(𝒙)