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
aliya0001 [1]
3 years ago
15

The counter in a for or while loop can have an explicit increment: for i=m:k:n. This advances the counter i by increment k each

time. In this problem we will evaluate the product of the first 9 even numbers 2·4·6·...·18 in two ways: (a) Write a script file that evaluates the product of the first 9 even numbers using a for loop.(b) Evaluate the product of the first 9 even numbers using a single MATLAB command. Use the MATLAB command prod.
Computers and Technology
1 answer:
Novosadov [1.4K]3 years ago
3 0

Answer:

(b) prod(2:2:18)

Explanation:

(a) Evaluate the product of the first 9 even numbers:

answer = 1;

for even = 2:2:18

    answer = answer*even;

disp(answer)

(b) Evaluate the product of the first 9 even numbers using MATLAB prod() function

answer = prod(2:2:18)

disp(answer)

You might be interested in
What is ms- power point?​
WITCHER [35]

Answer:

Microsoft PowerPoint is a powerful slide show presentation program. It is a standard component of the company's Microsoft Office suite software, and is bundled together with Word, Excel, and other office productivity tools. The program uses slides to convey information rich in multimedia.

hope it work️

5 0
4 years ago
Read 2 more answers
Jason takes many photographs on his smartphone while on vacation in Italy.IfJason wants to access these pictures across multiple
Gnoma [55]

Answer:

C. Cloud storage is the right answer

Explanation:

Cloud storage is a data storage model that stores digital contents in logical pools or servers, mostly these servers are scattered across multiple locations.

Data servers are managed by cloud providers, files are sent to these servers by clients. These files are stored on hard drives in remote locations.

Once Jason stores his photographs on the cloud, he can access these files with any device that is connected to the internet.

5 0
3 years ago
Using the following table as your starting point for each algorithm SJN Given the following information: Job: A B C D E Arrival
victus00 [196]

Answer:

Please check the attachment,

The average turnaround time is 4.8 and average waiting time is 1.

Please note: Exit time is same as completion time.

Explanation:

Please check the attachment.

7 0
3 years ago
Which of the following is a good way to improve your credit score?
Ganezh [65]
The answer is chope this helps
6 0
3 years ago
To use the wireless network in the airport you must pay the daily fee unless you are a subscriber to the service. Express your a
just olya [345]

Answer:

s ----> w V d

Explanation:

<em>s: You are a subscriber to the service</em>

<em>w: You can use the wireless network in the airport</em>

<em>d: You pay the daily fee</em>

From the statement, we can deduce that To use the wireless in the airport, you either have to be a subscriber to the service or you pay the daily fee.

The statement can be written logically as :

If you are a subscriber to the service, then you can use the wireless network in the airport or you can pay the daily fee

it can be written symbolically as:

s --------> w V d

5 0
4 years ago
Other questions:
  • Study the editorial cartoon Participation in Youth Sports Down by Dan Landgren Jr.
    6·2 answers
  • In the world of computers, the term ____ refers to the computerâs physical components, such as the monitor, keyboard, motherboar
    14·1 answer
  • A computer is an electronic device operating under the control of instructions stored in its own memory that can accept, manipul
    11·1 answer
  • HELP ME FAST???
    15·1 answer
  • expand and explain HTML and css. mention the role of each one in web pages imagine how a page without css will look like​
    7·1 answer
  • 4.9 Code Practice: Question 3
    15·2 answers
  • In the forward chaining technique, used by the inference engine component of an expert system, the _____ condition is evaluated
    5·1 answer
  • Which unknown factor affects prices in the financial markets?
    9·1 answer
  • What is coupling in computer science <br><br>​
    13·2 answers
  • Discuss the communicatin process giving detailed explanation on each process​
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!