1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
NNADVOKAT [17]
3 years ago
11

Integer indexing array: Weekend box office The row array movieBoxOffice stores the amount of money a movie makes (in millions of

$) for the 7 days of a week, starting with Sunday. Write a statement that constructs a row array weekendBoxOffice having the values for Sunday, Friday, and Saturday. Ex: If movieBoxOffice is [5.6, 3.5, 1.1, 1.5, 0.8, 1.2, 1.9], then weekendBoxOffice is [5.6, 1.2, 1.9] Function Save Reset MATLAB DocumentationOpens in new tab function weekendBoxOffice = GetWeekendEarnings(movieBoxOffice) % movieBoxOffice : 7 day box office sales in millions, starting with Sunday % Assign Sunday, Friday, and Saturday box office % earnings to row array weekendBoxOffice weekendBoxOffice = 0; end 1 2 3 4 5 6 7 8 Code to call your function
Computers and Technology
1 answer:
DiKsa [7]3 years ago
8 0

Answer:

function weekendBoxOffice = GetWeekendEarnings(movieBoxOffice)

    weekendBoxOffice = movieBoxOffice([1, 6,7]);

end

Explanation:

  • Create a function called GetWeekendEarnings() .
  • Create an array weekendBoxOffice that stores the sunday,friday, saturday sales .

You might be interested in
Display the Approval Form worksheet and create an IF statement in cell B13 to determine if the applicant is eligible for a perso
zhuklara [117]

Excel formulas are expressions used to perform computation.

The Excel formula to enter in cell B13 is =IF(B9 < 600, "Denied","Approved)

From the question, we have:

  • Cell B13 represents the applicant's eligibility status
  • Cell B9 represents the credit score

The eligibility criteria are given as:

  • Credit Score < 600 = “Denied”
  • Credit Score >= 600 = “Approved”

To write the formula, we make use of an IF function

An IF function in Microsoft Office Excel has the following syntax

=IF([condition],[value if true],[value if false]).

So, the required formula to enter in cell B13 is:

=IF(B9 < 600, "Denied","Approved)

Read more about Excel formulas at:

brainly.com/question/25683602

4 0
3 years ago
Brianna is taking a backpacking trip in the wilderness and wants to back up the photos from her camera. Which type of storage de
Katen [24]

Answer:

<u><em>C</em></u>

Explanation:

Flash drives usually have an input (E.G. one of those android charger connectors), so just plug that into your camera, and load the flash drive with the photos. Then go home and plug the USB on the flash drive into your PC. If there isn't already, a folder will be made in your "Pictures" folder on your PC, to which you can open the folder, and then your photos should be there. From there you can open them, print them, etc.

Hope this helped, and sorry if I didn't answer in time.

6 0
3 years ago
The page-replacement policy means that pages are not placed to make more space. A. True B. False
BabaBlast [244]

Answer:

B. False

Explanation:

A page-replacement policy can be defined as a set of algorithm that instructs the operating systems on what memory page is to be swapped, paged out or written to disk in order to allocate more memory as they're required by various active processes during virtual memory management.

Some of the algorithms or techniques used by the operating system for page-replacement policy are;

1. Last In First Out (LIFO).

2. First In First Out (FIFO).

3. Least Recently Used (LRU).

4. Least Frequently Used (LFU).

5. Optimal (OPT or MIN).

Hence, the page-replacement policy means that pages are placed to make more space and to minimize the total number of page that would be missing.

7 0
3 years ago
How did the computer obtain its current ip address? how can you determine this
salantis [7]
Ip Adress is a one of a kind series of numbers isolated by periods that distinguishes every PC utilizing the Internet Protocol to convey over a system. These are the default setting when the PC can't discover a system and on the grounds that it is the Server's nearby IP.
4 0
4 years ago
Where can you apply the hand wire splicing technique
Ber [7]

Answer:

When you want to extend an electrical wire for an apparatus, e.g., a lamp or a speaker.

3 0
3 years ago
Other questions:
  • Here are the codes for producer and consumer problems.
    10·1 answer
  • "what are two elements found in an email address?"
    7·1 answer
  • Slmething about device for defrosting windscreen?
    5·1 answer
  • On a Linux system, which command allows you to modify settings used by the built-in packet filtering firewall?
    15·1 answer
  • Multiply 2.7×10^4 by 6.3×10^6​
    13·2 answers
  • In the context of a global information system (GIS), _____ networks offer electronic data interchange standards, encryption, sec
    10·1 answer
  • Complete the function to return the factorial of the parameter,
    9·2 answers
  • How do cybercriminals use JavaScript maliciously?
    11·1 answer
  • G i r l s o n l y j o i n <br> id= ons jcuv jke
    13·2 answers
  • Yeoo check dis out!!!!!! wait my full vid dont show hol on
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!