Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help with this mathlab computer science work. Please use mathlab. Thank you 3. write a program named PlotBal Name.m that plots the mathematical function:

Please help with this mathlab computer science work. Please use mathlab. Thank you
image text in transcribed
3. write a program named PlotBal Name.m that plots the mathematical function: where, t time, h height, ho initial height, vo initial velocity (upwards), and g acceleration due to gravity. Evaluate the independent variabletat o to 5 seconds with n 50 data points (including o and 5). Hint: Use linspace(tmin,tmax,n). Use the following values: ho 10 m, vo 20 m/s, and g 9.8 m/s Use the ylim function to display o to 35 m in the y-axis of the plot. The x-axis label should be: 't time (s)' and y-axis label should be: height (m). Use the disp function to display the maximum height off the projectile and the time it occurred. Hint Use the max function with the two output form, then use the second output as an index to the time vector. Also, display on the Command Window using the disp function the time when the object falls back to the ground at height 0 m. max at about h att E 20 15 10 0 0.5 1 1.5 2 25 3 35 4.5 t time (s) Command Window m, which occurred at The naximum height is The object will fall to the ground at

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learning MySQL Get A Handle On Your Data

Authors: Seyed M M Tahaghoghi

1st Edition

0596529465, 9780596529468

More Books

Students also viewed these Databases questions

Question

What is meant by Career Planning and development ?

Answered: 1 week ago

Question

What are Fringe Benefits ? List out some.

Answered: 1 week ago

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago