Presentation is loading. Please wait.

Presentation is loading. Please wait.

MATH 251: MATH SOFTWARE A N I NTRODUCTION TO MATLAB Exercises sheet Al Imam Mohammad Bin Saud Islamic University College of Sciences Department of Mathematics.

Similar presentations


Presentation on theme: "MATH 251: MATH SOFTWARE A N I NTRODUCTION TO MATLAB Exercises sheet Al Imam Mohammad Bin Saud Islamic University College of Sciences Department of Mathematics."— Presentation transcript:

1 MATH 251: MATH SOFTWARE A N I NTRODUCTION TO MATLAB Exercises sheet Al Imam Mohammad Bin Saud Islamic University College of Sciences Department of Mathematics Mrs. Asra Sultana

2 MATH SOFTWARE - INTRODUCTION TO MATLAB T UTORIAL S HEET # 3 Exercise 1 : 1. Put the (2, 3)-entry of C to zero, then delete the third row of C and save it again as C. Give the size of the new matrix C. What happens when we assign an instruction to a same variable ? 2. Find the maximum of C entries using the MATLAB command max. 3. Type rho = (1+sqrt(5))/2 and a = abs(3 + 4i). 4. Mohammed went to the souk. He bought 4kg of Carrots (3SR/kg), 3kg of Apples (7SR/kg), 6Lettuces (2 for 4SR) and 6 Pepsi (1SR each). What is the total amount ? 5. Imed must buy some eggs and some bread. He has only 100SR. 4 eggs cost 2SR and one bread 5SR. With 6 breads. How many eggs Imed can buy ? 6. Let z = - 2 + 3j. What is the conjugate of z, its absolute value ? Give the value of 7. Let A = tan x + cot x and B =. Are these expressions equal for x = do it? 8. I want to compare the expression of A and B (previous question) at many points. How can Exercise 2 : Try to use some built in functions (sqrt, exp, abs, factorial, sin, cos, tan, cot, round, fix, ceil, floor, rem, sign). 1st semester 1431-1432

3 Exercise 3 : Calculate Exercise 4 : Define the variables a, b, c and d as : a = 15, b = - 7, c = a - b, d = 2 * ab - c.


Download ppt "MATH 251: MATH SOFTWARE A N I NTRODUCTION TO MATLAB Exercises sheet Al Imam Mohammad Bin Saud Islamic University College of Sciences Department of Mathematics."

Similar presentations


Ads by Google