+1-415-315-9853

info@mywordsolution.com

## Engineering

 Civil Engineering Chemical Engineering Electrical & Electronics Mechanical Engineering Computer Engineering Engineering Mathematics MATLAB Other Engineering Digital Electronics Biochemical & Biotechnology

EXERCISES:

problem 1: Make a program that will graph the following parabolas where x ranges from -10 to 10 in increments of 0.1. Make each parabola a different color and put all the parabolas in the same figure or graph. You can do this by using the “hold” function (Use the “help” to learn how to do this).  Use the “help plot” to find the code for the different colors and the “help legend” to show how to put the legend in the figure plot. The colors for each line are given below.

a) x2 – 6x + 5        black
b) -x2 – 4x – 3       blue
c) x2 + 6x + 8        red
d) 0.5x2 – 2x + 4    green

Do not forget to put a pause after this.

problem 2: The decay equation for a radioactive isotope is given by Q(t) = Q(0)e-λt, where Q(0) is the initial quantity (at t = 0), λ is the radioactive decay constant and t is the time. Carbon 14 has a decay constant λ = 0.00012097/year. Create a program that, if you had 15 gms of Carbon 14 at time 0, plotsthe following two figures side-by-side in one figure window (using the “Subplot” function):

• The decay curve for time t = 0 to 1,000,000 years in steps of 1 year. Do not forget to label the axes with units (x-axis = years; y-axis = gms) and create a title called “Decay Curve As A Function Of Time” for the plot.

• The curvewith the x-axis in logarithmic scale (HINT: Look into the function “semilogx” for the graphing).

Do not forget to put a pause after this.

problem 3: In 2007 individuals in the United States of America paid the following income taxes. prepare a program to find out how much income tax a person will owe based on this information in the table below. The program should accept a total income figure from the user and find out the income tax.

In this program, the program will ask “What is your income?”. After you input the income, the program output is going to say “Your tax for this income is \$????.??”

(????.?? is whatever output the program computes based on the income input into the program and the table above).

MATLAB, Engineering

• Category:- MATLAB
• Reference No.:- M9713

Have any Question?

## Related Questions in MATLAB

### Project 1complete parts 1a 1b and 1cprepare a report

Project 1 Complete parts 1A, 1B, and 1C Prepare a report describing your steps and results Send by email a zip or rar file that contains the report and all MATLAB files you have used. Project 1A: In this project, we cons ...

### Introduction to programming in matlab1 working with matlab

Introduction to Programming in MATLAB 1. Working with MATLAB scalars, vectors, and complex numbers. Using MATLAB, define a unique variable for the following quantities. a. 5 (ex. Define x = 5, etc.) b. 25 2 c. (3 + 4??) ...

### Problem 1 the two foremost aerospace companies in the usa

PROBLEM 1: The two foremost aerospace companies in the USA are Lockheed and Boeing. They often compete for government contracts. A major factor in awarding a contract is the claimed reliability of the given system to be ...

### Qestion 11 introductionmeasurements have been made of a

Question 1: 1 Introduction: Measurements have been made of a cantilever beam's deflection (stored in the file ass2q1in.csv). You must determine what type of loading has been applied and the magnitude of the load. There a ...

### Implement copy-move image forgery detection in matlabpaper

Implement Copy-move image forgery detection in Matlab. Paper - Copy-move image forgery detection based on Gabor magnitude by Jen-Chun Lee. With advancement of media editing software, even people who are not image process ...

### Consider the signal vt given belowwrite a matlab script to

Consider the signal v(t) given below. Write a MATLAB script to do the following (a) Display v(t) and v(2t-1) in window 1 by using subplot. (b) Display both the even component and odd component of v(t) in window 2 by usin ...

### 1 you are testing a theory which says that the output

1. You are testing a theory which says that the output displacement of a measurement device should vary with time according to the equation: D(x) = {x 2 cos (x)} / (x +1) So far, you have measured the following set of ex ...

### Assignment 1 -question 1 design a pumping system that will

Assignment 1 - Question 1: Design a pumping system that will transfer raw water from Reservoir A to Reservoirs B and C. A control valve shall be located in Line D-C next to Reservoir C to control the share of flow betwee ...

### Algorithms assignmentthe following 3 tasks are to be

Algorithms Assignment The following 3 tasks are to be completed for Homework 1 - using the following MATLAB syntax for the script file "bike.m" 1) Write additional syntax to create an INPUT variable named time and prompt ...

### It is desired to design a power electronic system referred

It is desired to design a power electronic system, referred to as ‘the device' in below, which has the following specifications: - The device is supplied from a single-phase wall outlet which has a 240 V rms, 50 Hz speci ...

• 13,132 Experts

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

### A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

### What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

### Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

### Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

### Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate