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

  Environmental engineeringquestion 1 iron species in

environmental engineeringquestion 1 iron species in solution exist in two major forms with different charges

  Presentation of geometric tolerances

The presentation of geometric tolerances and the use of symbols has been standardised (among other things) such that a key is not required in order to interpret the information

  If the coil terminals are energized for 8 seconds how long

A delay-on (TON) relay has a preset of 5.0 seconds. If the coil terminals are energized for8.0 seconds, how long will its contacts be actuated? If a delay-on (TON) relay with a preset of 5.0 seconds is energized for 3 seconds, how longwill its contac..

  What is the safe vehicle speed

Under specified conditions and vehicle speed, the roadway surface is determined to have a coefficient of side friction of 0.08, and the curve's super elevation is 0.09 ft/ft. What is the stationing of the PC and PT and what is the safe vehicle spe..

  Plot a graph of terminal speed vs input potential

CS 422 Robotics Assignment - Investigation into the control of an electric motor using MatLab. Try using different supply voltages and note the effect on the 'terminal speed' and initial acceleration of the motor.  Record your results in table incl..

  Power factor are we assuming for the load

For the efficiencies of the transformer, what power factor are we assuming for the load? Also No load losses are the same as the losses in the Core resistance under open circuit test, correct?  Also do we have to do test for both the 120 tap and 2..

  Analysis and design of pulsed doppler radar

BE203 - Telecommunications - Analysis and Design of Pulsed Doppler Radar for Weather Forecasting - Find the pulse repetition frequency

  What is the peak concentration of as in the si

What is the peak concentration of As in the Si in the source/drain regions after the silicidation process?

  Describe the underlying components to this strategy

Examine the option strategy shown. Describe the underlying components to this strategy, e.g., sell or buy call or put with strike prices and premiums

  Calculate the values for all resistors

This item covers Modules 5-8.  Scan, handwrite answers and upload solutions.  Show all required calculations for full credit.

  The media example of an extraneous variable

Is it a positive or negative correlation? How did you determine this to be the case?

  What is a phasor measurement unit in electric power systems

What is a flexible ac transmission systems (FACTS) device? One example of a FACTS device is a static synchronous compensator and what is a phasor measurement unit (PMU) in electric power systems?

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