Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please use Matlab, please show all steps Question 4 (15%) 1. (5%) Write a MATLAB function to evaluate the following plecewise function: t(y)=200200+0.1(y10,000)1,200+0.15(y20,000)5,700+0.25(y50,000)whenyisbelow10,000whenyisbetween10,000and20,000whenyisbetween20,000and50,000whenyisabove50,000 2. (5%)

please use Matlab, please show all steps
image text in transcribed
Question 4 (15\%) 1. (5\%) Write a MATLAB function to evaluate the following plecewise function: t(y)=200200+0.1(y10,000)1,200+0.15(y20,000)5,700+0.25(y50,000)whenyisbelow10,000whenyisbetween10,000and20,000whenyisbetween20,000and50,000whenyisabove50,000 2. (5\%) Evaluate the function at the following yinputs to confirm the corresponding touputs: 1. y=5,000=200 2. y=17,000=900 3. y=25,000 A, 950 4. y=75,000 =11,950 TIP: You can stant the script with a request for input from the user (using input), to quickly test your code for various cases. 3. (5\%) Explain why the following lifblock would nos be a correct eolution to this exerciee: 1fy50000 is t=5700+0.25(y50000)

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

Big Data Systems A 360-degree Approach

Authors: Jawwad ShamsiMuhammad Khojaye

1st Edition

0429531575, 9780429531576

More Books

Students also viewed these Databases questions