Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is a matlab problem. Please include code and answers. I am trying to save $100,000. I already have $500! I will put $100 per

This is a matlab problem. Please include code and answers.

I am trying to save $100,000. I already have $500! I will put $100 per month into savings on the last day of each month. After each deposit, interest will be compounded on my account at a rate of (3/12)% (so my total increases by a factor of 1 + 0.03/12). Write a script file called savings that uses a while loop to determine how many months it will take me to reach my savings goal.

The trajectory of an object can be modeled as y = x tan 0 g 2v 2 0 cos2 0 x 2 + y0, where y denotes the height (in m), 0 is the initial angle (in radians), x is the horizontal distance (in m), g denotes gravitational acceleration (= 9.81m/s2 ), v0 is initial velocity (in m/s), and y0 is the initial height. Let y0 = 0 and v0 = 30m/s. Create a function trajectory that takes an input t and produces a plot containing the trajectory of an object launched at angle t. The plot should range from x = 0 to x = 100. Turn in the plot generated by the command trajectory(35). Set the lower y-axis to 0. Your code will need to transform the input from degrees to radians

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

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

Students also viewed these Databases questions

Question

4. Who would lead the group?

Answered: 1 week ago