Suppose that x is a vector that allready exists

Assignment Help Computer Engineering
Reference no: EM1333171

Simple matlab questions need solved, given step by step answers as how the code flows, works, etc to get the answers.

Which is the correct matlab logical expression to check whether the value of x is between -10 and 10 (inclusive)?

a) -10 <= x <=10
b) -10<= x, X <= 10
c) x>=-10 & X<=10
d) x>=-10| x<=10
e) none

Assuming that x is a vector that allready exists, what is the value of y after the following code is executed?

y = x(1);
for k=2:length(x)
if x(k) >y
y=x(k);
end
end

a) the last element in x
b) the first elemtn in x
c) the max element in x
d) the min element in x
e) none

add one or two statements to complete the following code that implements question 12 using vectors instead of a loop.

x=1.5;
N=50;
k=[0:2:100];

Which of the following is the corect code to determine y=1 + 1/x+1/x^2+1/x^3..+1/x^N until the last term is less than 10^-8, using x=1.5

and is c) but why?? x=1.5; k=0; y=o; term=1/(x^k); while term >= 1e-8; y=y+term

Reference no: EM1333171

Questions Cloud

Computation of value of ibm : Examine the structure and activities in your reference organization and identify two projects or events that required an investment. One should be current and the other non-current.
Incremental cost of buying the containers : Should Curtis make or buy the containers? What is the incremental cost (benefit) of buying the containers as opposed to making them?
The primary period had been compound growth rate : The primary period had been 10 years, what would the compound growth rate have been then. What would you expect the sales to be after 16 more years.
Personal relationship with the employees : We have learned that employees want to feel valued and valuable and We have also learned that salary and benefits can only go so far. Each manager needs to have a personal relationship with the employees.
Suppose that x is a vector that allready exists : Which is the right matlab logical expression to check whether the value of x is between -10 and 10 (inclusive).
Computing rate of return-capm : CAPM and required return: Calculate the required rate of return for Manning Enterprises, assuming that investors expect a 3.5 percent rate of inflation in the future.
Research in operation management about general electric : Research in operation management about General Electric Company and discuss about history of the company and operation/process design.
Explain sources needed for literature study : Explain Sources needed for literature study and Any information might be complimentary to the little bit
Illustrate what is the current expected price of the stock : Illustrate what is the current expected price of the stock. What is the expected price of the stock at Year 6.

Reviews

Write a Review

Computer Engineering Questions & Answers

  How to write a report on object-oriented systems

How to write a report on Object-Oriented Systems?

  Give the pseudocode for the flowchart

make a flowchart and give the pseudocode for searching an array for a specified value.

  Developing uml sequence diagram for uploading document

For the existing Blackboard system, a system utilized for virtual classroom, grades, messages, and announcements, develop ONE UML Sequence Diagram for uploading the document to Blackboard.

  Use that both versions of average()

Create a class called CollegeCourse with. use that both versions of average()

  What are some of the changes to technology

How has this technology impacted the development of new software? Even if the technology change is hardware related, software development can be impacted.

  Creating a program that creates a single tips object

Creating a program that creates a single Tips object

  Design program using switch statements in visual basic

design program using switch statements in Visual Basic.

  Studying the properties of a network

Studying the properties of a network

  Use a database in this fashion ebay

however there is great risk in implementing a database in this fashion Ebay gained an extreme performance boost because the database didn't have to work as hard to ensure that the data "conformed."

  Program to find grade of students on basis of test scores

Write down a C++ program which finds a better grade for a student based upon two test scores. For a numeric average x.

  How to identify the communication needs

For each phase, identify the communication needs and briefly describe how you will satisfy them.

  Explain how is visual basic .net different

Search for information about .NET. What is it? Read articles on Visual Basic .NET. Why do you think students should learn Visual Basic .NET? How would it be useful for students?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd