Question

Please answer the questions using MATLABExercise 1 Dimensions of the Largest Box An open bols to be made rom ฮ rectangular poce of cardboard measuring 8 x48. The box

l a show that your last answer is a critical point for Vx)? 6. Find V(x) analytically by differentiating your formula for Vx)

Exercise 1 Dimensions of the Largest Box An open bols to be made rom ฮ rectangular poce of cardboard measuring 8 x48. The box s made by cutting o ual squares rom cach of its 4 corners and turning up the sides. Suggestion: you can try making one yourself with of paper) spare piece u8. 1. Let x be the side of a square removed from each corner. Express the volume v of the box as a function of x. (The length is 18-2x, what is the width?) Enter a short answer 2. What is the domain of values for x? the domain of Wx Enter a short answer nte your answer in interval notation. ea. (a.bl instead of a xb 3. Make a graph of ix)over the domain chosen. Graphically determine all possible values of x so that the volume of the hox is V-1400 cubic inches. Determine these values to an acruracy of 3 signiticant digits Enter a list of numbers separated by space or commas. uation V ㄨ-1400 is cubic equa tion with 3 real roots. Find all three roots using MATLAB's "roats. corrimand. Du you cet the samle answers as your gra phi invesbgat on. Exp air 5. Graph Vx) and)tagcther, lsc the graph of V'(x) to find the valuc of x that maximizes V Enter a number
l a show that your last answer is a critical point for Vx)? 6. Find V(x) analytically by differentiating your formula for Vx). Does your formu ect exactly one of the choices. yes no 7. Find the exact value of the maximum of Vx Enter a number
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Please find attached the screenshots of the Matlab graphs and script at the end. Run the script to verify the Matlab generated answers.

The length is 48-2x , width is 18-2x, and height is herepore, the volume V oF the box as o functon of x is given as, v(x) = (5. The plots of V(x) vs χ and V,1%) vs x are attached at the end. Through graph the estimated value of x that haximises V is

part (3)

1600 1400 X: 2.504 Y: 1399 1200 1000 800 600 400 200 3 4 5 6 7 91600 1400 X: 5.594 Y: 1403 1200 1000 800 600 400 200 3 4 5 6 7 9

part (5)

2000 dV/dx 1500 X: 3.992 Y: 1600 1000 500 -500 -1000 3 4 5 6 7 9

Matlab Script

clear; close all; clc;

%% part 3

x = linspace( 0, 9, 400 );
V = (48-2*x).*(18-2*x).*x
%V = 4*x.^3 - 132*x.^2 + 864*x ;

figure
plot( x, V )
xlabel( '\bf x' )
ylabel( '\bf V(x)' )
grid on

%% part 4

syms symX

Volume = expand( (48-2*symX) * (18-2*symX) * symX )
VolumePrime = simplify( diff( Volume ) )

p = [ 4 -132 864 -1400 ];
r = roots(p)

%% part 5

Vprime = 12*x.^2 - 264*x + 864 ;

figure
plot( x, V, x, Vprime )
xlabel( 'x' )
legend( 'V(x)', 'dV/dx' )
grid on

Add a comment
Know the answer?
Add Answer to:
Please answer the questions using MATLAB Exercise 1 Dimensions of the Largest Box An open bols to be made rom ฮ rectangular poce of cardboard measuring 8 x48. The box s made by cutting o ual squares...
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