Question

12. Define then evaluate the following function symbolically in MATLAB. Alll numbers must be to 4 significant digits. Follow

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Command Window New to MATLAB? See resources for Getting Started. >syms x y z >> f=x^2+y+z; >v-subs (f, {x,y},{1.89, 2}); > vp

for your question

>>syms s K >> X= ((s+1)* (exp (-2*s))) >v-subs (x, {s},{2i}); (s^2+2*s+1+K); >> vpa (v, 4) ans ( 2.167 - 0.5505i) (K 3.04.0i)

Add a comment
Know the answer?
Add Answer to:
12. Define then evaluate the following function symbolically in MATLAB. Alll numbers must be to 4...
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
  • The following is a Matlab exercise. Please provide the editor code in the answer below. Thank...

    The following is a Matlab exercise. Please provide the editor code in the answer below. Thank You. Define then evaluate the following functions symbolically in MATLAB by defining symbolic functions. All numbers must be to 4 significant digits. 6. (s + 1)e-2s 2s+ 1+K @s21, K remains. X(s) Example: syms x y f(x, y) =x^ 2 + y: z (1.89, y) vpa (z, 4) this would return z evaluated at x= 1.89, y remains, with 4 significant digit numbers (no...

  • MATLAB Define the following computer programming terms and give an example of each. MATLAB example Sequence...

    MATLAB Define the following computer programming terms and give an example of each. MATLAB example Sequence Selection structure- Repetition structure - Relational operators (True = 1, False = 0) Logical operators (True = 1, False =0) And Or Less than Less than or equal to Greater than Greater than or equal to Equal to Not equal to Not ans ans Type the following relational operator commands into MATLAB in the command window one at a time. Write the results to...

  • Please help me with these questions, show working. thank you I-(8z2+3e3rcos(5y) i-( 5e3rsin(5y)) j+16xz k The vector fi...

    Please help me with these questions, show working. thank you I-(8z2+3e3rcos(5y) i-( 5e3rsin(5y)) j+16xz k The vector field I is conservative, find a scalar potential function f(x.y,z) such that I grad f and f(0,0,0) 1 Your answer should be expressed using the correct Maple syntax; for example, it might be: 2*x^2"y+5*z*exp(-9*y) cos(4*z) Do not use decimal approximations all numbers must be correct Maple expressions. The scalar potential is f(x,y,z) Skipped Change the order of integration and evaluate the following double...

  • (a) (4 points) Fill in the blanks in the following MATLAB function M file trap so...

    (a) (4 points) Fill in the blanks in the following MATLAB function M file trap so that it implements the composilu trapezidul rulo, using a soquence of w -1,2, 4, 8, 16,... trapezoids, to approximatel d . This M file uses the MATLAB built-in function trapz. If 401) and y=() f(!)..... fr. 1)). 3= ($1, then the execution of z = trapz(x, y) approximates using the composite trapezoidal rule (with trapezoids). (Note that the entries of are labeled starting at...

  • Provide detailed reponse on a separate sheet of paper 28) Using K-Maps, simplify the following: a)...

    Provide detailed reponse on a separate sheet of paper 28) Using K-Maps, simplify the following: a) F(W, X, Y,Z) (0,2,6,8,10,14) b) F(W, X, Y, Z) 2(7,10,11,13,14,15) 29) Design a logic circuit to determine SQUARE OF THE SUM of TWO "2-bit" numbers. Define binary inputs and outputs, and provide: (a) Truth table (b) Digital circuit implementation using decoder(s) 30) Design a logic circuit that takes 0-9 (in binary) and turns ON corresponding LEDS L1 - L7. For example, all LEDS but...

  • s is the surface X2 16 (y2+22) TE 0,4] obtained by rotating the function c : 4 y about the x-axis for x є 04 Given the...

    s is the surface X2 16 (y2+22) TE 0,4] obtained by rotating the function c : 4 y about the x-axis for x є 04 Given the vector field: E-(12yz-22)(22z+3y)j+(3z-22y)k, Calculate the outward flux of E through surface S. That is find 3 z JEdS Your answer should consist of a single number accurate to five decimal digits or as an exact rational expression. For example: 10.13906368 OR rounded to 10.13906 OR 3*Pi+5/7 JSkipped s is the surface X2 16...

  • Using MATLAB or FreeMat ---------------------------- Bisection Method and Accuracy of Rootfinding Consider the function f(0) =...

    Using MATLAB or FreeMat ---------------------------- Bisection Method and Accuracy of Rootfinding Consider the function f(0) = 3 cos 2r cos 4-2 cos Garcos 3r - 6 cos 2r sin 2r-5.03r +5/2. This function has exactly one root in the interval <I<1. Your assignment is to find this root accurately to 10 decimal places, if possible. Use MATLAB, which does all calculations in double precision, equivalent to about 16 decimal digits. You should use the Bisection Method as described below to...

  • x²-7 Find all critical numbers of the function y=7-4,#4. Then use the second-derivative test on each...

    x²-7 Find all critical numbers of the function y=7-4,#4. Then use the second-derivative test on each critical number to determine whether it leads to a local maximum or minimum Select the correct choice below and fill in any answer boxes within your choice. O A. The local maxima occur at x = and the local minima occur at x = (Type an integer or simplified fraction. Use comma to separate answers as needed.) OB. The local maxima occur at x...

  • Q1. Q2. Q3. Q4. Question 4 (2 marks) Attempt 1 A surface is described by the equation re10y+9y For a su...

    Q1. Q2. Q3. Q4. Question 4 (2 marks) Attempt 1 A surface is described by the equation re10y+9y For a surface defined by a vector R(t,y)y,z(ry), the element of surface area is given by dS For the given surface, determine the cross product Each component should be expressed using the correct Maple syntax; for example, one component might be: -31+7'x exp(-11 y) The first component of the cross product is The second component of the cross product is The third...

  • Finding Absolute Maximums and Absolute Minimums. We are guided here by two theorems about extreme...

    Finding Absolute Maximums and Absolute Minimums. We are guided here by two theorems about extreme values of functions Theorem 1: Iff(x) is continuous on a closed interval [a, b], then f(x) has both an absolute minimum value, m, and an absolute maximum value, M. This means there are some numbers c and d with m = f(c) and M = f(d) and m s f(x) s M for each x in [a, b]. The theorem does not tell us where...

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