How would you code and solve this in matlab?

조회 수: 4 (최근 30일)
Thomas
Thomas 2023년 6월 27일
댓글: Image Analyst 2023년 6월 27일
Question from matlab Worksheet:
How would you code and solve this in matlab ?
Thank you.
Suppose you work for a company that produces packaging. You are told that a new packaging material can protect a package when dropped, provided that the package hits the ground at less than 25 ft/sec. The package’s total weight is 20 lb, and it is rectangular with dimensions of 12 by 12 by 8 in.
You must determine whether the packaging material provides enough protection when the package is carried by a delivery person.
To provide your answer, create a variable ep = 'yes' or 'no'
[Hint: estimate the maximum height (h) the package can fall from neglecting the air drag]
  댓글 수: 1
John D'Errico
John D'Errico 2023년 6월 27일
Please don't post your homework assignments, making and showing no effort.

댓글을 달려면 로그인하십시오.

답변 (1개)

ProblemSolver
ProblemSolver 2023년 6월 27일
Hello Thomas --
As this is your homework assignment. Therefore we cannot provide you with a direct answer due to plagarism. However, here are the steps that you can follow:
  1. Convert the dimensions of the package to consistent units (e.g., inches to feet) for the calculations.
  2. Calculate the potential energy of the package when it falls from the maximum height (h) using the formula PE = mgh, where m is the mass of the package and g is the acceleration due to gravity.
  3. Calculate the velocity of the package when it hits the ground using the formula v = sqrt(2gh), where h is the maximum height.
  4. Check if the velocity is less than 25 ft/sec.
  5. Set the value of the variable "ep" to 'yes' if the velocity is less than 25 ft/sec, or 'no' otherwise.
I hope this helps.
  댓글 수: 2
Thomas
Thomas 2023년 6월 27일
Hello Tusharr,
thank you for the explanation.
I will try these steps as recommended.
Very Respectfully,
Thomas Jeong
Image Analyst
Image Analyst 2023년 6월 27일
As far as I can tell, his steps 1 and 2 are not necessary. You simply need his formula from step 3.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Powertrain Blockset에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by