Question

3. Consider the function 4 242 where bE R. Use MATLAB to (a) Define t and b as symbolic variables. (b) Create the symbolic fu

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

From the outputs,it is clear that critical points (A'(t)=0) that lies in the given interval are 0 and   .So we need to check only these points and endpoints,which is what we did in (e). From the output we find that minimum value occurs at   . The code is attached below.

__________________________________________________________________________

clear all
syms t b A(t)%We declare symbolic variables t,b and function A(t)
A(t)=t^4-(b^2*t^2);%Definition of A(t)
dA=diff(A)%dA=derivative of A

roots=solve(dA,t) %Solving for A'(t)=0

%Next lines displays results after substitution
%Only sub is required for substutuion but to display
%using disp we need to convert syms to char,hence the char
disp(['A(0) = ', char(subs(A,0))]);
disp(['A(b/2^1/2) = ', char(subs(A,b/2^1/2))]);
disp(['A(b) = ', char(subs(A,b))]);
_____________________________________________________________________

Add a comment
Know the answer?
Add Answer to:
3. Consider the function 4 242 where bE R. Use MATLAB to (a) Define t and...
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
  • Use MATLAB to determine the following integrals. a) Determine cosh r dx. (See section 1.9.1 of the MATLAB Manua. (b) De...

    Use MATLAB to determine the following integrals. a) Determine cosh r dx. (See section 1.9.1 of the MATLAB Manua. (b) Determine2exp-6r) dr. Use the pretty command to make your answer more readable. (Use help pretty for more information.) Enter int (sqrt (log(x^2-1))), and explain the output. (c) d) Computer programs can do many calculations very quickly but can make mistakes. We must therefore check that they are working. Our knowledge of mathematics helps with this 10 Use MATLAB to determinesin(t)...

  • For MATLAB users. Can you please type the answers for the MATLAB sections. Consider the RLC circuit where R - 5, C- 1, L- 4 and Vs - 8 1. Use circuit analysis laws to show that the resistor's vol...

    For MATLAB users. Can you please type the answers for the MATLAB sections. Consider the RLC circuit where R - 5, C- 1, L- 4 and Vs - 8 1. Use circuit analysis laws to show that the resistor's voltage and induc- tor's voltage can be modelled as the system of ODEs Vi VL RC 2. Solve the eigenvalues and eigenvectors of the coefficient matrix in the system of ODEs. 3. Verify your answer for question (2) by using the...

  • How do you do this on Matlab? Question 3 Problem 3 (25) G a function f(r)...

    How do you do this on Matlab? Question 3 Problem 3 (25) G a function f(r) coatmtous at X = 25 And the pos iive root. Manually. by hatd, conduct the Secant method using the function in prder to successfully fill in thie teble. Sliow hand caleudated solutions fil in the able, and use tlirce decimals Hegarding MATLAB, plot the function and solve for the roct using a built-in function. (t)= 0.2(r-5)-Olx+10 new old 41 1425 0319 1775 1.3 2010...

  • 4. MATLAB can solve second order equations numerically, but it needs to convert it to a...

    4. MATLAB can solve second order equations numerically, but it needs to convert it to a sys- tem first. We haven't covered systems yet, but we can make use of them (entirely in MAT- LAB) to solve this problem. The help page https://www.mathworks.com/help/symbolic/ solve-differential-equation-numerically-1.html shows how to do this. Follow those steps to get the solution to day +9y = cos(3) dt2 y(0) = 0 v(0) = 0 Plot this and your solution from the previous part on the same...

  • Let f be a function of two variables x,y. Define r(t) Yobt y(t) Хо + at,...

    Let f be a function of two variables x,y. Define r(t) Yobt y(t) Хо + at, Let g(t) f(x(t), y(t)) (a) Explain what does (x(t), y(t)) represent in the plane (b) Explain how the graph of g can be viewed as a part of the graph of f. dg (c) Find dt \t=0 in terms of partial derivatives of f. What does this repre- sent? (d) What does your answer in part c become if a 0 or b=0? (e)...

  • Consider the system 0.28 +0.2x + 2x = f(t), where f(t) is a unit step function,...

    Consider the system 0.28 +0.2x + 2x = f(t), where f(t) is a unit step function, and the initial conditions are zero. (a) Use MATLAB to plot the step response of the system. Attach the MATLAB plot and the script used to create the plot. Using only the printed MATLAB plot, extract by hand (i.e. use a ruler) the (b) maximum percent overshoot, (c) rise time, and (d) peak time, and then using the extracted values, estimate the (e) damping...

  • QUESTION 5 please. 4. MATLAB can solve second order equations numerically, but it needs to convert...

    QUESTION 5 please. 4. MATLAB can solve second order equations numerically, but it needs to convert it to a sys- tem first. We haven't covered systems yet, but we can make use of them (entirely in MAT- LAB) to solve this problem. The help page https://www.mathworks.com/help/symbolic/ solve-differential-equation-numerically-1.html shows how to do this. Follow those steps to get the solution to day +9y = cos(3) dt2 y(0) = 0 v(0) = 0 Plot this and your solution from the previous part...

  • 1. Perform the following operations in MATLAB a. Use diff to find the derivative of y...

    1. Perform the following operations in MATLAB a. Use diff to find the derivative of y = cx2 and use subs to evaluate the resulting function at x = 10 and c = 2.5. Solve dy/dt = The frame shown in the figures below has a load P-1000 lb applied at an angle α-30 degrees. The frame dimensions das and dAD are 16" and 12", respectively. Assuming the surface at each support is frictionless, the following equations can be developed...

  • 9. + 4/12 points Previous Answers SCalcET8 13.3.019. Consider the following vector function. r(t) = (3V2t,...

    9. + 4/12 points Previous Answers SCalcET8 13.3.019. Consider the following vector function. r(t) = (3V2t, et, e-3) (a) Find the unit tangent and unit normal vectors T(t) and N(t). t(c) = V2(V2c3! -e-31 N(t) = (b) Use this formula to find the curvature. k(t) = Need Help? Read it Watch It Talk to a Tutor O Type here to search N e 9

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