IT Workshop 2
IT Workshop 2
Assignment No: 1
Problem Statement
Write a program in MATLAB to find the sum of first 10 natural numbers
Implemented code
Output
Section: A
Problem
Write a program in MATLAB to find the factorial of 21.
Implemented code
Output
Section:
Problem
Write a program in MATLAB to if a given n umber is even or odd.
Implemented code
Output
Section:
Problem
Write a program in MATLAB to check if 2023 is a leap year.
Implemented code
Output
Section:
Problem
Write program in MATLAB to print the following pattern
*
**
***
****
Output
Section:
Problem Statement
Write program in MATLAB to print the following pattern
54321
4321
321
21
1
Section: