[SOLVED] AMITH 350 - Assignment 01

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon assignment1-6hhr7f.zip (334.3 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
Rate this product

 

 

Solve all the following problems in MATLAB.

 

  1. Enter the following matrix A and create

 

  • A 4 Γ— 5 matrix B from the 1st , 3rd and 5th rows and 1st , 2nd , 4th and 8th columns of the matrix A.
  • 16-elements row vector C from the elements of the 5th row and the 4th and 6th columns of the matrix A.
  1. Define π‘Ž π‘Žπ‘›π‘‘ 𝑏 as scalar π‘Ž = 0.75 and 𝑏 = 11.3 and π‘₯, 𝑦, 𝑧 as the vectors

π‘₯ = [2,5,1,9, ], 𝑦 = [0.2, 1.1, 1.8, 2] and 𝑧 = [βˆ’3, 2, 5, 4], then evaluate

 

  1. Solve the following system of equations

2π‘₯1 + π‘₯2 + π‘₯3 βˆ’ π‘₯4 = 12

π‘₯1 + 5π‘₯2 βˆ’ 5π‘₯3 + 6π‘₯4 = 35

βˆ’7π‘₯1 + 3π‘₯2 βˆ’ 7π‘₯3 βˆ’ 5π‘₯4 = 7

π‘₯1 βˆ’ 5π‘₯2 + 2π‘₯3 + 7π‘₯4 = 21

  1. Plot sin2 π‘₯, cos2 π‘₯ π‘Žπ‘›π‘‘ cos 2π‘₯ on the same plot as well as subplots for 0 ≀ π‘₯ ≀ 2πœ‹, in different styles.
  2. Consider the function 𝑧 = 0.56 cos(π‘₯𝑦). Draw a surface plot showing variation of 𝑧 with π‘₯ and 𝑦. Given π‘₯ ∈ [0,10]π‘Žπ‘›π‘‘ 𝑦 ∈ [0,100]
  3. Write a function to find the gradient of 𝑓(π‘₯, 𝑦) = π‘₯2 + 𝑦2 βˆ’ 2π‘₯𝑦 + 4 at (a) (1,1) and (b) (1, βˆ’2). Use the function name from command prompt as well as from a script file.
  4. Use symbolic toolbox to solve the following problems (a) Solve π‘₯7 βˆ’ 8π‘₯5 + 7π‘₯4 + 5π‘₯3 βˆ’ 8π‘₯ + 9 = 0

(b) Solve the ODE:

, then evaluate 𝐹′(π‘₯) and 𝐹′′(π‘₯).

 

  1. The population of X from the year 1930 to the year 2020 is given in the following table:
Year 1930 1940 1950 1960 1970 1980 1990 2000 2010 2020
Population in million 249 277 316 350 431 539 689 833 1014 1203
  • Fit the data with a second-order polynomial. Make a plot of the points and the polynomial.
  • Fit the data with linear and spline interpolations. Estimate the population in 1995 with linear and spline interpolations.

 

 

  • assignment1-6hhr7f.zip