How do I write an m-file that prompts a single three-valued vector?

조회 수: 2 (최근 30일)
Vera Pirner
Vera Pirner 2017년 10월 16일
댓글: Star Strider 2017년 10월 16일
The general equation for the distance that a freely falling body has traveled (neglecting air friction) is d=1/2gt^2. Assume that the acceleration due to gravity g = 9.8m/s2. Write an m-file script that prompts the user a single three-valued vector containing the start time, increment and end time in seconds. Your script should calculate and display a table of time and distance traveled in meters for time values from start time to end time by the increment.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Risk Management Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by