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

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

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