[Solved] AMATH301 Homework 0

30 $

File Name: AMATH301_Homework_0.zip
File Size: 178.98 KB

SKU: [Solved] AMATH301 Homework 0 Category: Tag:

Or Upload Your Assignment Here:


  1. Variables and Basic Computation Define the following variables in Matlab:

x = 10, y = −2, z = π.

  • Save z in the file dat.
  • Calculate x + y z and save your answer in the file dat.
  • Calculate x3 and save your answer in the file dat.
  • Calculate ey and save your answer in the file dat.
  • Calculate cos(zy) and save your answer in the file dat.
  1. Matrices and Vectors Define the following matrices and vectors in Matlab:

   

1 −2

   

, x =  2 , y =  0 ,

        −1 1

  • Save x in the file dat.
  • Save the second row of A in the file dat.
  • Calculate x y and save your answer in the file dat.
  • Calculate Ay and save your answer in the file dat.
  • Calculate A(x + y) and save your answer in the file dat.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] AMATH301 Homework 0
30 $