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

In matlab how would this specific code be written and how could I ask the user to enter a vector of coefficients for the polynom

ial model. Verify that the entry has an even number of elements (an odd number of elements would mean an even order polynomial). If an invalid vector is entered, prompt the user to re-enter the vector until an acceptable vector is entered. If the user does not enter an acceptable vector after 5 attempts (including the first prompt), display a warning and remove the last element of the last vector entered. (For example, if the last user input is [1 2 3 4 5], the vector becomes [1 2 3 4]).
my code
[1,2,3,4];
Computers and Technology
1 answer:
solniwko [45]3 years ago
7 0

Answer:

Explanation:

that is correct 1234

You might be interested in
List four useful spreadsheet functions and explain what they do.
Helen [10]

Answer:

SUM, AVERAGE, MAX,MIN

Explanation:

Sum: The SUM function is categorized under Excel Math and Trigonometry functions. ... The function will sum up cells that are supplied as multiple arguments. It is the most popular and widely used function in Excel. SUM helps users perform a quick summation of specified cells in MS Excel.

Average: The AVERAGE function in Excel does exactly what you think it should. It computes the mathematical average of a set of numbers. In other words, it adds up a set of numbers and then divides the sum by how many numbers are being averaged.

Max: he MAX function will count numbers but ignore empty cells, text, the logical values TRUE and FALSE, and text values. In financial analysis, MAX can be useful in calculating the highest score, the fastest time, the highest expense or revenue amount, etc.

Min: will return the minimum value in a given list of arguments. From a given set of numeric values, it will return the smallest value. Unlike the MINA function, the MIN function ignores numbers, text, and logical values TRUE and FALSE and text values. In financial modeling.

8 0
3 years ago
Suppose you have two tables: officer and gentleman. what question(s) can be asked by using the union operator?
Alik [6]
The union of two tables is basically the total of the two tables, so "or" questions would be my guess.
8 0
3 years ago
Anil needs to show the overlap of people who live in a certain neighborhood in his city and who support a specific political can
pantera1 [17]

Since Anil needs to show the overlap of people who live in a certain neighborhood in his city that supports a specific political candidate, the type of conceptual diagram which he should use is a: B: Venn diagram.

<h3>What is a Venn diagram?</h3>

A Venn diagram can be defined as a circular graphical (visual) tool that is typically used for representing, logically comparing and contrasting two (2) or more finite sets of data such as objects, students, events, voters, concepts, people, etc.

In this context, we can reasonably infer and logically deduce that a Venn diagram is a type of conceptual diagram which can be used by Anil in illustrating the overlap of people who are living in a certain neighborhood in his city and supports a specific political candidate in an election.

Read more on Venn diagram here: brainly.com/question/24581814

#SPJ1

8 0
1 year ago
Regarding the excerpt, what synthesized information helps spread a message to a large audience? Check all that apply. taking adv
frutty [35]

The question is incomplete! Complete question along with answer and step by step explanation is provided below.

Question:

Read the excerpt from News Articles about Bullying.

Aside from his website, Jaylen has appeared on numerous TV networks, chatted via Skype with college education students nationwide and spoken at the Florida Teachers Conference in Orlando in front of more than a thousand educators.

Regarding the excerpt, what synthesized information helps spread a message to a large audience? Check all that apply

1. taking advantage of technology

2. being good at public speaking

3. appearing on a television program

4. speaking mostly to college students

5. presenting at professional conferences

Answer:

The correct options are 1, 2, 3 and 5

Explanation:

In order to convey the message to a large audience, an individual can adopt certain measures that can ensure efficient spread of message.

Jaylen used technology (Skype) to chat with students nationwide, therefore, option 1 is correct.

Speaking in front of more than a thousand educators at the Florida Teacher Conference clearly suggests that Jaylen is good at public speaking, therefore, option 2 is correct.

Jaylen appeared on numerous TV networks as well as she presented at professional conferences which helps in spreading the message across a large audience, therefore, option 3 and 5 are also correct.

It is not necessary to speak to only college students, she can speak to students of all education levels to spread her message to large audience, therefore, option 4 is not correct.

7 0
3 years ago
Write a function called st_dev. St_dev should have one #parameter, a filename. The file will contain one integer on #each line.
kodGreya [7K]

Answer:

  1. import statistics
  2. def st_dev(file_name):
  3.    with open(file_name) as file:
  4.        data = file.readlines()
  5.        numList = []
  6.        for x in data:
  7.            numList.append(int(x))
  8.        
  9.        return statistics.pstdev(numList)
  10. print(st_dev("text1.txt"))

Explanation:

The solution code is written using Python.

To ease the calculation task, we can import Python statistics module to use the pstdev method to calculate the population standard deviation of a list of numbers (Line 1).

Next, create a st_dev function that take single argument file_name (Line 3). In the function, it will open the input file and read the data line by line (Line 4-5). Create a for loop to traverse through each line of the data which is an integer and append it to numList (Line 7-8). We can pass the numList to pstdev method (Line 10) and return the resulting standard deviation value as output.

We test the function by passing a file which hold a list of integer values in each line (Line 12).

8

9

12

11

21

15

16

10

7

13

And the output we shall get is 4.019950248448356

6 0
3 years ago
Other questions:
  • 1. What does it mean to say that a country’s land area is positively correlated with its population?
    12·2 answers
  • You need to access the registry on your windows 10 computer how do you do this
    9·1 answer
  • A slideshow that accompanies an oral report is known as what?
    6·1 answer
  • Computer design replaced ______________
    6·1 answer
  • If you need seamless access to the OS, ________ is better.
    8·1 answer
  • VEE Physics 2006 E.C
    7·1 answer
  • Ranboo back story? (not homework i just wanna find some ppl who are interested in the same things) ft. the reddie meme
    9·2 answers
  • Which of the following is not a data visualization technique?
    6·1 answer
  • You should always keep a backup of data stored in the cloud because the cloud provider does not automatically do this True or fa
    9·1 answer
  • Fill in the blanks <br>a) an _______________ checks the files on the computer for viruses.​
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!