0% found this document useful (0 votes)
15 views1 page

Lab Assignment Week4

The lab assignment for Week 4 focuses on AI and ML, requiring students to work with NumPy and the Math module. Tasks include creating and manipulating NumPy arrays, copying arrays using different methods, utilizing math and cmath functions, and developing a calculator using functions. These exercises aim to enhance understanding of array operations and mathematical computations in programming.

Uploaded by

meyaji4872
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views1 page

Lab Assignment Week4

The lab assignment for Week 4 focuses on AI and ML, requiring students to work with NumPy and the Math module. Tasks include creating and manipulating NumPy arrays, copying arrays using different methods, utilizing math and cmath functions, and developing a calculator using functions. These exercises aim to enhance understanding of array operations and mathematical computations in programming.

Uploaded by

meyaji4872
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Lab Assignment (Week 4)

AI and ML Lab
(Programs on NumPy, Math Module and Functions)
1) Create a NumPy array and apply methods such as append(), insert(), pop(), remove(),
index(), sort(), and reverse().
2) Write a program to copy array with assignment operator, shallow copy method and
deep copy method.
3) Write a program for math and cmath module functionality in your program. E.g.,
math.acos(), math.ceil(), math.exp(), math.gcd(), cmath.tan(x), cmath.log10(x),
cmath.isclose().
4) Write a program to create a calculator using function.

You might also like