Description of a program to compute

Assignment Help Business Management
Reference no: EM131981381

[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.

Reference no: EM131981381

Questions Cloud

Determine whether first normal form : Determine whether first normal form (1NF), second normal form (2NF), or third normal form (3NF) should be the goal when a DBA designs a database.
Point between resistors b and c : If resistors A, B, C, and D are connected one after the other (which means they are in series), and then one end of resistor E is connected to the point
Calculate the firms average tax rate : Using the US Corporate Tax Schedule from the textbook (and lecture slides), calculate the firms average tax rate.
Provide a staffing plan in order to ensure future product : You are a Human Resources Manager of an expanding technology company consisting of 170 employees that develops and distributes small electronic devices.
Description of a program to compute : 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.
What peeked your interest the most : Your discussion subject of this week is what did you find most complex or perplexing about vulnerability assessment? What peeked your interest the most?
How ransomware is spread : How ransomware is spread. What suggestions would you make for preventing the spread of ransomware and protecting your organizations data from falling victim.
What you are going to end up with is fairly lengthy document : What you're going to end up with is a fairly lengthy document, and in the end you should identify the one or two best forecasting models that you have utilized.
Prepare research paper on security engineering : You need to prepare research paper on Security Engineering. You need to make format changes in attached file

Reviews

Write a Review

Business Management Questions & Answers

  Lowering of tax rates

The supply-side argument (usually a tool of Republican tax cuts) says that a lowering of tax rates is actually good for tax collections and that tax cuts increase tax collections.

  Disadvantages of a self-management program

What are the advantages and disadvantages of a self-management program?

  Patient as center of the health care universe

Murphy, J. (2011). Information systems & technology. Patient as center of the health care universe: A closer look at patient-centered care.

  Kinds of performance discussions in the performance

One of the most difficult jobs for a manager is dealing with poor employee performance. a) What are the ways to structure the kinds of performance discussions in the performance?

  Should we be a leader or a follower

With rapidly changing technology and the evolution of e-commerce in supply management, it is difficult to predict what the future will look like.

  How would you define market segment

you are a marketing manager of COC company- How would you define your market Segment?- and design the Four P's strategy of your product.Discuss

  Disclosure of patient information

In 250 words, summarize the article. Discuss the important takeaways shared as it relates to the disclosure of patient information. In addition, share your role as a future and/or current healthcare professional will partake to uphold the privacy,..

  Key variables for perceptual map

Using the same company you chose for your Week 2 assignment, choose a product or service the company offers on which to focus. (We used Nike - you can pick any product that you would like) Identify the important attributes for your chosen product and..

  Identify how the manager is utilising the planning process

Provide an overview of the entire report, this section should summarise all the report in a succinct manner - Identify how the manager is utilising the planning process

  Impact of the growth of temporary employment relationships

What do u think the likely impact of the growth of temporary employment relationships will be for employees attitude and behavior? How would you develop a measurement system to evaluate the impact of corporate downsizing and temporary job assignme..

  Prepare a research report

Prepare a research report. - Select from a list of organisations and prepare an analysis of the rganisation's social media presence and strategy.

  Examples of conflict situations

Share an examples of conflict situations that you have witnessed in the workplace. Please use positions and titles rather than names of specific individuals. What kind of conflicts are these examples, and how did the conflicts develop? What were t..

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