Problem 1 0 solutions submitted (max: Unlimited) Create the symbolic function $f(x,y) = x+3y+cos(xy)$ Create a new variable A and set it equal to f when x=3 and y = 2. Script 1 Assessment: syms is used x is correct y is correct f is correct A is correct
Added by Francisco H.
Close
Step 1
Then, we can use these variables to define the symbolic function f. Here is the MATLAB code to create the symbolic function f: ```matlab syms x y f = x + 3*y + cos(x*y); ``` Show more…
Show all steps
Your feedback will help us improve your experience
Derrick Danso and 54 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Sri K.
Q1 Use partial differentiation to determine the expressions for ∂y/∂x in the following cases: (i) x^3 + y^3 - 2x^2y = 0 (ii) sin^2 x - 5sin x cos y + tan y = 0 (b) If z = xy / (x - y) show that: x^2 ∂^2z/∂x^2 - y^2 ∂^2z/∂y^2 = 0 (c) For a differentiable function f(x,y) with x = r cos ̸ and y = r sin ̸: (i) Draw the Tree diagram. (ii) Prove that fr = fx cos ̸ + fy sin ̸
Adi S.
Make a MATLAB code to solve an arbitrary linear equation (n=10) using Gauss elimination. Pseudocode is: for k = 1 : n-1 for i = k+1 : n factor = a_i,k/a_k,k for j = k+1 : n a_i,j = a_i,j - factor*a_k,j end end end
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD