https://github.com/shaikats/python-assignment
Simulation and Modeling Lab assignments using Python, NumPy, Matplotlib, and Jupyter Notebook.
https://github.com/shaikats/python-assignment
jupyter-notebook matplotlib numpy python simulation-modeling
Last synced: about 2 months ago
JSON representation
Simulation and Modeling Lab assignments using Python, NumPy, Matplotlib, and Jupyter Notebook.
- Host: GitHub
- URL: https://github.com/shaikats/python-assignment
- Owner: Shaikats
- Created: 2025-02-11T19:16:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-19T08:58:25.000Z (about 1 year ago)
- Last Synced: 2025-02-19T09:35:00.092Z (about 1 year ago)
- Topics: jupyter-notebook, matplotlib, numpy, python, simulation-modeling
- Language: Jupyter Notebook
- Homepage:
- Size: 265 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 💻 Simulation & Modeling Lab – Assignment Repository
## 👤 **Personal Information**
**Name:** Shahriar Hossain Shaikat
**ID:** 2215151034
**University:** UITS (University of Information Technology and Sciences)
**Department:** Computer Science and Engineering (CSE)
**Batch:** 51
**Section:** 7A2
## 📖 **Course Details**
**Course Code:** CSE 413
**Course Name:** Simulation and Modeling Lab
**Course Teacher:** Audity Ghosh
---
## 📂 **Assignments**
📊 Assignment 1: Data Visualization and Matrix Operations
### 📝 Tasks
1. Generate two vectors with 15 random floats, plot them, and label axes.
2. Create a 4x4 random matrix, visualize as a heatmap, and label rows/columns.
3. Generate two 4x4 matrices, perform arithmetic operations, visualize with bar plots.
### 📌 Concepts Covered
- Random number generation
- Data visualization with Matplotlib
- Matrix operations with NumPy
- Heatmap visualization
- Bar plot representation of matrix computations
📂 **[View Assignment 1](https://github.com/Shaikats/Python-Assignment/blob/main/assignment-01.ipynb)**
🎲 Assignment 2: Random Matrix Generation
### 📝 Tasks
1. Use NumPy to create a 3×3 matrix of random integers between 1 and 50.
2. Run the code twice:
- With a fixed seed (`np.random.seed(10)`) to ensure reproducibility.
- Without setting a seed, allowing random values to change each time.
3. Observe and explain the differences in outputs (in a different cell as text).
### 📌 Concepts Covered
- Random integer matrix generation
- Effects of using fixed seeds in random number generation
📂 **[View Assignment 2](https://github.com/Shaikats/Python-Assignment/blob/main/assignment-02.ipynb)**
## 📂 **Assignment Links**
[](https://github.com/Shaikats/Python-Assignment/blob/main/assignment-01.ipynb)
[](https://github.com/Shaikats/Python-Assignment/blob/main/assignment-02.ipynb)
---
## 🎯 **What I Learned**
- How to generate and manipulate random numerical data in Python.
- Effective use of Matplotlib for visualizing mathematical operations.
- Understanding of matrix operations and their effects.
- How to present data using heatmaps and bar plots.
- Best practices for structuring a professional GitHub repository.
---
## ⚡ **Run This in Google Colab**
1. Download the `.ipynb` File or Clone the repository:
```bash
git clone https://github.com/shaikats/Simulation-and-Modeling-Lab.git
```
2. Open [Google Colab](https://colab.research.google.com/).
3. Click on **"File" > "Upload Notebook"** and select the `.ipynb` file, or create a new notebook and Paste the Code.