Anda di halaman 1dari 2

CSE 330

Section 1
Set:A
Marks 30
1. Write Matlab expression for the following function
f(x)=x2+sinx*|cos(√𝑥)| and evaluate the expression for x=2.5 and
x=50.
2. Given two numbers (lower and upper limit). Write a function that
returns an array of all the Prime numbers in that range.
3 −2 −4 1 −2 1
3. Given two matrices A=−4 0 1 B = 2 −1 2 . Calculate
−3 5 −1 3 2 1
the value of 4A-2B-5I

Anda mungkin juga menyukai