{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# r3_yun - Recitation 60 mins Practice Exercises 20 mins 1...

This preview shows pages 1–6. Sign up to view the full content.

Recitation         60 mins Practice Exercises 20 mins 1 3.21 You can find the solutions of all the Practice Exercises on your book Appendix B. Please save your work as yourname_rec2.m and upload it on sakai-> Dropbox

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
% Practice Exercise 3.2 What is the function that gives the absolute value? How to find the square root of 3? Create a vector x from -9 to 12 with increment of 3. What is the function that gives the remainder of x divided by 2? What is the function that gives e x ? What is the function that gives the natural logarithm of x, ln(x)? What is the function that gives the common (base 10) logarithm of x, log 10 (x)?
% Practice Exercises 3.4 Create a vector x from 0 to 2πwith increment of 0.2π. What are the function that calculate sin(x) and cos(x) in radians? What are the function that calculate sin(x) and cos(x) in degrees? What are the function that calculate sin -1 (1), cos -1 (1)? % homework n!=1*2*3*4*5*…*n 4! 10! % homework 3(d) use anonymous function before using fminbnd nameoffunction = @ (variable1, variable2) equation

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}