Question

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
0 0
Add a comment Improve this question Transcribed image text
Answer #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 a comment
Know the answer?
Add Answer to:
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:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT