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
AVprozaik [17]
4 years ago
15

Write a user written function that expects as its input argument a vector of x values and a vector of corresponding y-values. Th

e function must return a matrix with 3 columns. The first column must be the x-vector that was provided by the user. The other columns must contain approximations for the first derivative (dy/dx). Column 2 must contain forward difference approximations, column 3 must contain backward difference approximations. Populate the matrix with NaN if the method cannot be computed correctly for a given point.

Computers and Technology
1 answer:
Ostrovityanka [42]4 years ago
7 0

Answer:

See attached Command window for answer

Explanation:

function m=FirstDer(x,y)

m=zeros(length(x),3);

m(:,1)=x;

forward=(y(2:end)-y(1:end-1))./(x(2:end)-x(1:end-1));

forward=[forward;NaN];

backward=(y(2:end)-y(1:end-1))./(x(2:end)-x(1:end-1));

backward=[NaN;backward];

m(:,2)=forward;

m(:,3)=backward;

You might be interested in
There are two common computer platforms for both PC and MAC users. Which term best describes this function?
andrezito [222]

Operating system (OS)

5 0
3 years ago
When an EC2 instance is being modified to have more RAM, is this considered Scaling Up or Scaling Out?
Nastasia [14]

If an EC2 instance is being modified to have more RAM, this is known as Scaling Up.

<h3> What is EC2 Auto Scaling?</h3>

The Amazon EC2 Auto Scaling is known to be a type of fully well handled service that has been set up to launch or hinder Amazon EC2 instances automatically.

It is often made so as to help make sure that people have the correct number of Amazon EC2 instances that is available to manage the load for their  application. To scaleup is to bring up.

Learn more about RAM from

brainly.com/question/13196228

7 0
3 years ago
________ is a condition in which information inflow exceeds an individual's processing capacity. Select one: a. Information over
In-s [12.5K]

Answer:

Option a is the correct answer.

Explanation:

  • The information overflow is a state where the coming information will be more in comparison with processing information.
  • For example, if there is limited space and any user has more luggage to keep on that space, then we can say that the luggage is overflow.
  • So when the information is more and the processing capacity is less then we can say it information overflow condition and it is also asked by the above question. Hence option a is the correct answer.
  • While the other is not because:- option b, c and d states some information statements which do not come in any information condition.
6 0
3 years ago
Daisy, an HR executive at Matrix-Solutions, was given the responsibility to conduct induction training for the newly hired emplo
sasho [114]

Answer:

The answer is Presentation Software.

Explanation:

The application that best suits her purpose is a Presentation Software. Such as: powerpoint, google presentations, keynote,  OpenOffice Impress, Media Shout, Harvard Graphics, Adobe Persuasion.

These are excellent tools for Daisy's purpose.

8 0
3 years ago
Question 5
OverLord2011 [107]

Answer:

The answer to this question is given below in the explanation section.

Explanation:

This is a Python function that generates random number between the given range. However, it includes the numbers that are given in the range.

So this function can generate a random number and return a number between 1 and 9 (inclusive 1 and 9).

The function is written below

...........................................................................................................

import random

print(random.randint(1, 9))

<em>#returns a number between 1 and 9 (both included)</em>

.....................................................................................................................

4 0
3 years ago
Other questions:
  • A form of artificial intelligence that can perform many complex, _______ tasks. Select one: a. serialized b. repetitive c. non-r
    7·1 answer
  • DG Loans, a mortgage lender, was charged with a discrimination lawsuit. It alleged that the company was offering loans at higher
    13·1 answer
  • 17. Which of the following is not a visible section in a File Explorer window?
    8·1 answer
  • What is a lease? AA contract outlining the terms of a mortgage. BA contract outlining the terms under which a landlord agrees to
    15·1 answer
  • What is the purpose of a Program Epic?
    7·2 answers
  • Megara would like to create a web page using web design software, but she does not have any money to spend. What would you sugge
    15·1 answer
  • Select the correct answer. Steve wants to change shooting and exposure settings while on his photo shoot. Which camera part will
    7·2 answers
  • In the context of applications of artificial intelligence (AI), _____ perform well at simple, repetitive tasks and can be used t
    11·1 answer
  • STOP DELETING MY ANSWERS AND QUESTIONS!!!!!!!
    9·1 answer
  • Malware that locks or prevents a device from functioning properly until a fee has been paid is known as:
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!