Question
Please help me write the commands
2) Plot a graph that describes the following texting plan You pay $40 for the first 1500 text messages. After the first 1500 messages, you pay 45 cents per text. Draw a graph for messages between 0 and 3000 messages. (Write your commands and sketch your graph)
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Hey,

Below is the code to your question

clc%clears screen
clear all%clears history
close all%closes all open files
x=0:3000;
y=[];
for i=1:length(x)
if(x(i)<=1500)
y(i)=40;
else
y(i)=40+0.01*45*(x(i)-1500);
end

end
plot(x,y)

Figure 1 File Edit View nsert Iools Desktop Window Help Close 800 700 600 500 400 300 200 100 500 1000 1500 2000 3000 O Type here to search A4) ENG 60AM US 10/20/18 20

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
Please help me write the commands 2) Plot a graph that describes the following texting plan...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Can someone please help me to plot a graph for an unknown sample thats absorbance is .154 and cal...

    can someone please help me to plot a graph for an unknown sample thats absorbance is .154 and calculate the unknown concentration using A=K*M concentration of a Solution by Absorbance Measurement Unknown Concentration X103 From Part A) x io4 Absorbance Part C: Absorbance as a function of concentration Plot absorbance versus concentration and draw best fit line. Attach graph. Refer to the instructions in Part Cof the procedure Part D: Unknown concentration Determine the concentration of your unknown sample using...

  • can you help me to solve me signals and systems homework 4) Please plot the graph...

    can you help me to solve me signals and systems homework 4) Please plot the graph of derivative of the given function in question 2. 2) For the given (-1/2)-(x(3-2t)) (-1/2) -(x(3-2t)) 1 -5 -4 -3 -2 -1 1 2 3 4 5 1 -2 -3 1-4

  • Hi Please help me ASAP need SQL commands only for MS Access The following tables provide...

    Hi Please help me ASAP need SQL commands only for MS Access The following tables provide a very small portion of the data that will be kept in the database. The data needs to be inserted into the database for testing purposes. Write the INSERT commands necessary to place the following data in the tables that were created in Problem 47. (If required by your DBMS, be certain to save the rows permanently.) only for MS Access!!!

  • I believe these spectra are for 1,3-dimethylbutyl acetate. Can you please help me analyze them? 62-...

    I believe these spectra are for 1,3-dimethylbutyl acetate. Can you please help me analyze them? 62- 55 50- 45 40 35 30 2 sm 25 20 154 10- 226 HNom-9 tmeio 00 3000 2500 2000 am-1 1500 3500 1000 50 Administrator 652 Sample 652 By Administrator Date Monday, June 10 2019 epm 460S 6 s0.4903 62- 55 50- 45 40 35 30 2 sm 25 20 154 10- 226 HNom-9 tmeio 00 3000 2500 2000 am-1 1500 3500 1000 50...

  • Can someone please help me interpret the IR data of a diels alder reaction product between...

    Can someone please help me interpret the IR data of a diels alder reaction product between 9-anthracenemethanol and N-methylmaleimide. Can you show the DA product structure with the various H species associated? Thank you. 90 Joe lan Diels Alder product 85 80 75 70 65 60 55 50 45 40 35 30 25 3000 2500 500 3500 2000 1500 1000 4000 Wavenumbers (cm-1) % Transmittance 6 3069.03 1766.39 1681.46 1474.36 1465.21 1455.61 1382 93 1295.54 1282.09 1318.30 1209.16 1141 30...

  • Please help me on solving this question! Thank you! 4. Write the Boolean expression that describes...

    Please help me on solving this question! Thank you! 4. Write the Boolean expression that describes the circuit shown below. 1. Find the standard SOP form that is equivalent to each of the following truth tables. L 000 1 0 ---los X Y ZF 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 1 1001 1 0 1 1 1 0 0 1 1 0

  • can somebody help me with this please. This is for Visual Basic Write the code for...

    can somebody help me with this please. This is for Visual Basic Write the code for an application that calculates the sum of two integer variables (intVar1, intVar2) and store it in a third integer variable (intSum). You should have two text boxes (txtVar1, txtVar2) and a label (lblSum) to show your result.

  • please me help me WRITE/Create learner-centered objectives. Patient-centered/ student-centered learning is best reached when a plan...

    please me help me WRITE/Create learner-centered objectives. Patient-centered/ student-centered learning is best reached when a plan is in place identifying what the learner is supposed to achieve after the teaching session. 1. Write a nursing diagnosis identifying the knowledge deficit. 2. 3. Write at least 4 learning objectives identifying the learner and make them SMART. 5. Identify the domain of learning for each objective. Use this statement by the learner to guide the process ( The learner states, “I want...

  • Please help me solve these 2 questions with steps. Thank you. 17. Sketch the graph of...

    Please help me solve these 2 questions with steps. Thank you. 17. Sketch the graph of the following tangent and secant functions. a.y=tan(3x - 1/2) b.y = 3 sec(2x - 1/2) 18. trig and inverse trig Braph of region of y = sin from xto x=t, observe this is one to one and thus has an verse. Then use the principle of reflection about vax to find the graph of this inverse. b. Repeat the same for y = cos...

  • help me please :( 3. The set of activities to be considered in the plan of...

    help me please :( 3. The set of activities to be considered in the plan of a subcontractor for the construction of a concrete foundation is as follows: Activity Depends on E, K1, K2, N. Description Site Handover Mobilization Layout of spread footings Earth excavation Obtain concrete Place concrete Obtain steel reinforcement Cut and bend reinforcement (part 1) Cut and bend reinforcement (part 2) Place reinforcement (part 1) Place reinforcement (part 2) Obtain formwork Erect formwork Approvals Wait for 14...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT