Vector and range values

Large stockpile of 10cmx10cm sheets. What is the largest volume you can create by cutting out x centimeters by x centimeters from each corner of the sheet and then folding up the sides. Create a plot of volume versus x max~=75
What I have so far
for a=[0:0.5:10]
volume=a*(10-2*a)^2
end

1 Comment

Rik
Rik on 8 Mar 2018
You can find guidelines for posting homework on this forum here.

Sign in to comment.

Answers (0)

Categories

Find more on Argument Definitions in Help Center and File Exchange

Asked:

on 8 Mar 2018

Edited:

on 8 Mar 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!