Plot the function by plotting two curves

Assignment Help Other Engineering
Reference no: EM132142816

Engineering Analysis Assignment -

For every problem, provide The MATLAB script/function files that solve the problems.

Problem 1:

Plot the function f(t) = (x+5)2/(4+3x2) for -3 ≤ x ≤ 5.

using plot command. Use the array for variable x with spacing Δx = 0.01. Label the axis of the plot with names "Variable x" and "Function f(x)"

Problem 2:

A parametric equation is given by

x = 3t/(1+t3), y = 3t2/(1+t3)

(Note that the denominator approaches 0 when t approaches -1) Plot the function (the plot is called the Folium of Descartes) by plotting two curves in the same plot-one for -30 ≤ t ≤ -1.6 and the other for -0.6 ≤ t ≤ 40.

Problem 3:

The position x as a function of time of a particle that moves along a straight line is given by

x(t) = 0.41t4 - 10.80t3 + 64t2 - 8.2t+ 4.4 ft

The velocity v(t) of the particle is determined by the derivative of x(t) with respect to t, and the acceleration a(t) is determined by the derivative of v(t) with respect to t.

Derive the expressions for the velocity and acceleration of the particle, and make plots of the position, velocity, and acceleration as functions of time for 0 ≤ t ≤ 8 s.

Label the axis appropriately with correct units.

Problem 4:

Write a function that solves problem. Provide all math derivations that demonstrate how the polar coordinates of the sum vector are related to the polar coordinates of r1 and r2.

In polar coordinates a two-dimensional vector is y given by its radius and angle (r, θ). Write a user-defined MATLAB function that adds two vectors that are given in polar coordinates. For the function name and arguments use [r th]= AddVecPol (r1 f th1, r2 th2), where the input arguments are (r1, θ1) and (r2, θ2), and the output arguments are the radius and angle of the result. Use the function to carry out the following additions:

(a) r1 = (5, 23o), r2 = (12, 40o). (b) r1 = (6, 80o), r2 = (15, 125o).

566_figure.png

Problem 5:

1. Write a MATLAB function TrigFun that returns value of a function given by the equation

f(x) = a1 cos(ω1x) + a2 sin(ω2x)

at given a1, a2, ω1, ω2, and x. The list of input parameters of function TrigFun should include only three parameters: array a = [a1, a2], array ω = [ω1, ω2], and value x.

2. Prepare a script that uses TrigFun to plot values of f(x) in the interval 0 ≤ x ≤ 10 with equal spacing Δx = 0.05 at a1 = 1, a2 = 0.25, ω1 = π, ω2 = 4π.

Problem 6:

A two-dimensional state of stress at a point in a loaded material is defined by three components of stress σxx, σyy, and τxy. The maximum and minimum normal stresses (principal stresses) at the point, σmax and σmin, are calculated from the stress components by:

σmax/min = (σxxyy)/2 ± √(((σxxyy)/2)2 + τ2xy)

781_figure1.png

Write a user-defined NIATLAB function that determines the principal stresses from the stress components. For the function name and arguments use [Smax, Smin] = princstress (Sxx, Syy, Sxy). The input arguments are the three stress components, and the output arguments are the maximum and minimum stresses.

Use the function to determine the principal stresses for the following states of stress:

(a) σxx = -190MPa, σyy = 145 MPa, and τxy = 110 MPa.

(b) σxx = 14ksi, σyy = -15 ksi, and τxy = 8 ksi.

Reference no: EM132142816

Questions Cloud

Identify the implied premise in the enthymeme : Use the Internet to search for an example of an enthymeme in the media (e.g., Internet, television, radio, newspapers, etc.).
Should the state decriminalize drug related offenses : Create a group of 3 to 5 people. You can create a group using classmates from this class, but it is not a requirement that your group be part of this class.
Explain how that idea will ensure a win-win negotiation : Discuss and arrive at a consensus on at least 5 best practices for negotiation techniques from the list provided by all members of the team.
Discuss the formal cultural elements : Discuss the formal cultural elements that promote or discourage moral actions within the organization?
Plot the function by plotting two curves : ME 349 Engineering Analysis Assignment - Plot the function (the plot is called the Folium of Descartes) by plotting two curves in the same plot
Discuss the question of a common mortality : Discuss the question of a common mortality that people of all nations could share. Is there one moral philosophy that seems to be applied across nations?
Dunkin donuts sensory testing process : What types of questions are "test subjects" being asked during Dunkin Donuts "Sensory Testing Process"?
What should cango do about adding violent games : Corporate Ethics tactics and operating a business in an ethical manner takes time, effort and commitment.
Who is the audit firm for the company : The company you select for this Project Paper is up to you; however, it must be a publicly traded company whose financials are available on the internet.

Reviews

len2142816

10/16/2018 11:10:01 PM

For every problem, provide The MATLAB script/function files that solve the problems. Final answers Run the prepared script/function file in the MATLAB command window in order to obtain the numerical values or plots. Hardcopy of the report must include printed codes (scripts/functions), printed plots, and screenshots of MATLAB command window with numerical answers.

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

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