Earth Sciences 2220A/B Quiz: Assignment 1

57 views9 pages

Document Summary

Write a matlab code to calculate the value of x in the following expression, x = a cos(b) + c sin(a), where a = 1. 5, b = 2. 2, c = 1. 9. 1. 0125: x = a(b2 + 5c/a)3 b (a/b) where a = 5. 0, b = 0. 5, c = 2. 0, d = 0. 4. >> x2=(a2*(b2^2+5*(c2/a2))^3) (b2*sqrt(a2/d2): x = 5 3a3 4b / c x2 = 0. 4000 where a = 2. 1, b = 3. 5, c = 0. 2. 0. 2000: x =2a2b3 + 0. 5c3d - 5bdc 0. 2(bd c2)2 / 5a2c3 12da2 + 7ab3 +2(b a2c3) 8. 4497 where a = 2. 0, b = 3. 5, c = 1. 52, d = 3. 1. >> x4=(((2*(a4^2)*(b4^3))+(0. 5*(c4^3)*d4)) (sqrt((5*b4*d4*c4) (0. 2*((b4*d4) (c4^2))^2))))/((5*(a4^2)*(c4^3)) (12*d4*a4^2) + (7*a4*b4^3) + (2*(b4 ((a4^2)*c4^3)))) x4 = 0. 6796: plot several functions using the matlab software, make a graph of the function f(x) = 0. 8 sin (3x 2. 5), for the interval x e. Add a title, x-axis label, y-axis label and grid. 0. 1914 -0. 0467 -0. 2806 -0. 4895 -0. 6546 -0. 7613 -0. 7999 -0. 7671.

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

Related Documents