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
andreev551 [17]
3 years ago
10

In MATLAB please.

Computers and Technology
1 answer:
Leona [35]3 years ago
4 0

Answer:

function [Area,Perimeter,L]=f_circle(x)

 % Area: pi*x^2 area of circle with radius x

 % Perimeter: 2*pi*x perimeter length of circle with radius x

 % x can be a vector

 minargs=1;maxargs=1;narginchk(minargs,maxargs);  % only 1 input accepted

   if ~isequal('double',class(x))                   5 input has to be type double

       disp('input type not double');

       return;

   end

   Area=pi*x.^2;

   Perimeter=2*pi*x;

 end

You might be interested in
What changes do you need to a algorithm to compare 100 numberst
Aliun [14]

Answer:

It really depends - in general every data structure has its use.

Explanation:

Furthermore, traversing the list will be inefficient because the data items are not contiguous in memory, forcing the CPU to jump all over the RAM memory causing further slowdown.

3 0
4 years ago
Virtual Memory involves swapping between which 2 devices?
Darina [25.2K]

Answer:

Ram and the hard drive

Explanation:

A page of RAM is written to the harddisk and read back when it is needed again. That way it may seem you have more RAM than you actually have, at the cost of performance of course.

6 0
3 years ago
A computer’s BIOS is defined as the
Dennis_Churaev [7]
Basic input/output system
5 0
3 years ago
Read 2 more answers
Communication between a computer and a keyboard involves ______________ transmission.
4vir4ik [10]

Answer:

Simplex transmission

Explanation:

Communication between computer and keyboard involves which transmission? Answer: Simplex transmission requires communicating between a computer and a keyboard. The simple transmission & communication channel allows data from only one direction.

8 0
2 years ago
Which statement best justifies the use of a high-speed cache in a CPU?
crimeas [40]

Cache memory is a high-speed memory that stores the instructions and data that have been frequently accessed.  It decreases the time it takes to decode the instructions stored in the instruction pipeline.

A.  It decreases the time it takes to decode instructions stored in the instruction pipeline.

<u>Explanation:</u>

Whenever an instruction is invoked or some data is accessed, the CPU looks for it in the cache memory before accessing the main memory.

If the content is found in the cache memory, it accessed from there and then and hence the access time and decode time is reduced as there were no main memory lockups.

6 0
4 years ago
Other questions:
  • Give a logical expression with variables p,q, and r that is true if p and q are false and r is true and is otherwise false.
    5·1 answer
  • What statement best describes the Microsoft Windows operating system?
    13·2 answers
  • Carbon monoxide poisoning can result from breathing
    15·1 answer
  • You are running out of storage space on one of your servers. you need to purchase an external hard drive, as there are no drive
    8·2 answers
  • Why should you avoid the use of sarcasm, clichés, and idioms in business letters?
    11·2 answers
  • Q.2 (A)
    5·1 answer
  • Please help me on this please i am giving all of my points so please help me
    6·1 answer
  • I'm lonely every 14 and up come talk
    5·2 answers
  • PLEASE HELP I WILL GIVE BRAINLIEST!!
    8·1 answer
  • Pleaseeeee helppp
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!