Graphics Programs Reference
In-Depth Information
Problem 2
(a)
cosh(0.1)
ans =
1.00500416805580
(b)
log(2)
ans =
0.69314718055995
(c)
atan(1/2)
ans =
0.46364760900081
format short
Problem 3
[x, y, z] = solve('3*x + 4*y + 5*z = 2', '2*x - 3*y + 7*z = -
1','x-6*y+z=3','x', 'y', 'z')
x=
241/92
y=
-21/92
z=
-91/92
Now we'll check the answer.
A = [3, 4, 5; 2, -3, 7; 1, -6, 1]; A*[x; y; z]
ans =
[]
 
Search WWH ::




Custom Search