Homework Help Question & Answers

5 Draw a computational graph to compute the function f(, y) ( graph to compute f (2,3) -y). Use the Draw a reverse mode graph to compute the derivatives f/0x and อ//ay for f 3( y). Use the graph...


5 Draw a computational graph to compute the function f(, y) ( graph to compute f (2,3) -y). Use the Draw a reverse mode graph
5 Draw a computational graph to compute the function f(, y) ( graph to compute f (2,3) -y). Use the Draw a reverse mode graph to compute the derivatives f/0x and อ//ay for f 3( y). Use the graph to find those derivatives at 2 and 3. 6
0 0
Next > < Previous
ReportAnswer #1

5

Consider the equation f(x,y) = x^{3}(x-y)

To draw the computational graph, we simplify the equation into it's constituent terms i.e.,

Let (x-y) = u \& x^{3} = v

\Rightarrow f(x,y) = vu

So, f(2.3) =-8

6.)

For the reverse-mode graph, first we compute the partial derivatives :

23(4) 12

\frac{\partial u}{\partial x} = \frac{\partial x}{\partial x} - \frac{\partial y}{\partial x} = 1

\frac{\partial u}{\partial y} = \frac{\partial x}{\partial y} - \frac{\partial y}{\partial y} = -1

İJu Ou

8

\frac{\partial f}{\partial x} = \frac{\partial f}{\partial v}\times \frac{\partial v}{\partial x} + \frac{\partial f}{\partial u}\times \frac{\partial u}{\partial x} = -12+8 = -4

\frac{\partial f}{\partial y} = \frac{\partial f}{\partial u}\times \frac{\partial u}{\partial y} = 8\times -1 = -8

eu ルー tA 24 ey

Add Homework Help Answer
Add Answer of:
5 Draw a computational graph to compute the function f(, y) ( graph to compute f (2,3) -y). Use the Draw a reverse mode graph to compute the derivatives f/0x and อ//ay for f 3( y). Use the graph...
Your Answer: Your Name: What's your source?
Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
More Homework Help Questions Additional questions in this topic.
Need Online Homework Help?
Ask a Question
Get FREE Expert Answers
WITHIN MINUTES
Related Questions