MATH 2565 Lecture Notes - Lecture 1: Moodle, Matlab

182 views2 pages

Document Summary

Submission instructions: (cid:15) use moodle to submit your work. (cid:15) at the top of each (cid:12)le introduce your name and student number as a comment: create the following matrix using the matlab. 1: write a script that produces the following output. The script should iterate from 1 to 9 to produce the expressions on the left, perform the speci(cid:12)ed operation to get the results shown on the right, and print exactly in the format shown here. In your function, you need to do the error check of m and n in order to obtain correct input: positive integers. Your function must take m and n as the input arguments that passed to your function. York university: the sin function sin(x) can be approximated by the following formula. 5! (cid:0) : : : sin(x) = n=0 for all x. [25] (a) write a function using loops that computes an approximation to sin function sin(x) using the above formula.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related textbook solutions

Related Documents