Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Business Management Expert

[To use In Matlab (Matlab Code)

I need to solve these questions by using Matlab Software

so needs answer for Matlab]

Question 1:

The roots of the quadratic equation ax^2 + bx +c = 0 are given by

x = (-b+-sqrt(b^2 - 4ac))/2a

a. Develop a Pseudo code description of a program to compute both roots given the values of a,b,and c. Be sure to identify the real and imaginary parts.

b. Write the program described in part a and test it for the following cases:

  1. a = 2, b = 10, c = 12
  2. a =3, b = 24, c = 48
  3. a = 4, b = 24, c = 100

Question 2:

Make a program that accepts a numerical value x from 0 to 100 as input and computes and displays the corresponding letter grade given by the following table.

A. x>=90

B. 80<=X<=89

C. 70<=X<=79

D. 60<=X<=69

F. x<60

  1. Use nested if statements in your program ( do not use elseIf).
  2. Use only elseIf clauses in your program.

Business Management, Management Studies

  • Category:- Business Management
  • Reference No.:- M92819034
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in Business Management

What are the differences between the federal aviation

What are the differences between the Federal Aviation Administration and the Civil Aviation Authority

In 2001 bobs burgers charged 150 for a quarter-pound

In 2001, Bob's Burgers charged $1.50 for a quarter-pound hamburger with all the fixin's, and sold 7,500 of them. In 2002, although Bob raised the price to $1.75, sales of quarter-pound burgers rose to 8,200. Explain why ...

What impact does corporate strategy have on your decision

What impact does corporate strategy have on your decision, as a consumer, to purchase those products or services? What is the best plan to implement and enforce a code of ethics within a business? What is the impact of a ...

Instructors use the grading system to assign the final

Instructors use the Grading System to assign the final grades based on the scores received by the students during the semester. The Grading System interfaces with the Student Record System (to get the class roster). The ...

Paraphrase this answer bellowsuccessful implementation of

Paraphrase this answer bellow. Successful implementation of the TPP could have been regarded as the most important trade agreement that could have benefited members and non-members. The deal could have led to the liberal ...

Tell me something about employment law issues about ford

Tell me something about Employment law issues about Ford Motors and its references.

What is the american association of airport executives what

What is the American Association of Airport Executives? What are the requirements for membership for those currently employed in airport management? You may wish to view the following web site: www.AAAE.org/ by clicking ...

Explain the two-factor theory by herzberg why would a

Explain the Two-Factor theory by Herzberg. Why would a production worker be better motivated by Two-Factor theory ideas?

Suppose the production function for a firm is given

Suppose the production function for a firm is given by:  q=4L +2K.   If the firm currently has  20  units of capital (K) and  10  units of labor (L), then calculate the Marginal Rate of Technical Substitution (MRTS LK ).

If health care employees are happy in their jobs do you all

If health care employees are happy in their jobs, do you all see incentives as a major issue in employees deciding to remain at a place of employment? Further, can incentives be in the form of monetary, or recognition of ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As