Minimum and Maximum Functions

 

 

 

Select either the minimum or maximum function. Identify a task – personal or professional – that could be modeled mathematically through your chosen function. Explain how the chosen function be used in making good decisions.

Examples of tasks might be:

Make the largest garden possible using a given amount of fencing.
Configure an airplane to create the least amount of drag for an airplane in flight.

 

 

Matrix

 

 

Create the following matrix, which stores the name and suit of every card in a royal
flush.
## [,1] [,2]
## [1,] “ace” “spades”
## [2,] “king” “spades”
## [3,] “queen” “spades”
## [4,] “jack” “spades”
## [5,] “ten” “spades”

 

 

Developing a mathematical model for a vehicle

 

The objective of this project is to develop a mathematical model for a vehicle, simulate the
response of the vehicle to the engine being shut off with MATLAB/Simulink, and design
appropriate stiffness values for the tire-and-wheel assembling.
Figure 1 shows the sketch of the side section of a vehicle. To simply the model, the following
assumptions are made:
(1) The entire mass of the system as concentrated at the center of gravity (c.g.).
(2) The input by the engine being shut off is modeled as an impulse moment applied to the
vehicle, which is 1500N*m;
(3) Only the motion of the vehicle in the x-y plane is considered. For the sake of
concentrating on the vibration characteristic of the vehicle, the rigid translation in the y
direction is ignored. So the motions of the vehicle in the x-y plane include the rotation in
the x-y plane (pitch) and up-and – down motion in the x direction (bounce).
(4) Each tire-and-wheel assembling is approximated as a simple spring-dashpot arrangement
as shown in Figure 1.
(5) All tire-and-wheel assembling in the vehicle are identical.
Figure 1 sketch of the side section of a vehicle
In the system, the total mass of the vehicle is 3500kg, the moment of inertia of the vehicle
around c.g. is J = mr2
(r2
= 0.64m2
), l1= 1.4m, and l2 = 0.9m, friction coefficient c for each tireand-wheel assembling is 2000N*s/m.
The steps in the design and simulation process should include (but would not be limited to):
(1) Draw the simplified physical model for the vehicle based on the above assumptions.
(2) Develop a mathematical model using the simplified physical model.
a. Draw the free-body diagram of the vehicle and write differential equations, inputoutput equations or state variable equations for the system.
b. The input is the impulse moment by the engine being shut off and the outputs are
the rotation and up-and-down motion in the x direction.
(3) Implement your mathematical model in a Simulink simulation and design appropriate
stiffness values for the tire-and-wheel assembling k with which the maximum amplitude
of the angular response is less than 0.08 radians and the maximum amplitude of the upand-down motion in the x direction is less than 0.02m.
a. Using the block diagram to simulate the response of the vehicle (both angular and
up-and- down motions) to the impulse moment by the engine being shut off.
b. Draw the block diagram using one of three different forms of equations
(differential equations, input-output equations, and state-variable equations).
c. Simulate the two responses (rotation and up-and-down motion) of the vehicle to
the impulse moment input with different values of k. Design appropriate k value
and display graphs of both the two responses in time domain.
(4) Write a final report describing your model and simulation. This is a formal report, which
should contain a clear and complete description of your physical system, the
mathematical model and the Simulink simulation.
The report must be typed and should contain, at a minimum, the following sections.
 Introduction. A description of the physical system. Use figures to assist your
description.
 Mathematical Model. A step-by-step description of the development of your
mathematical model.
 Simulink Simulation. A step-by-step description of the Simulink simulation and
design of the stiffness k. Discuss how the stiffness k affects the response of the system.
 Conclusions. Here you should describe the strengths and weaknesses of your
model and simulation. Describe any way in which the model could be improved.
This project is not like a homework problem, in that there is not one correct answer. You could
choose different block diagram models to do the simulation and design the stiffness value of k to
meet the requirement. You are expected to use your imagination in the design process and to try
to use all of the tools that you have learned. Also, you will be judged on quality of report as well
as quality of results.

Mathematics question

Density is the mass of a substance divided by its volume. What is the volume in cubic centimeters of a mass of 300 grams having a density of 60 grams per cubic centimeter? Please discuss how you arrived at your answer.

Mathematics

What is x = ? , 4x + 5 = 3x

what is x = ? , 4x + 5 = 3x

what is x = ? , 4x + 5 = 3xwhat is x = ? , 4x + 5 = 3x

what is x = ? , 4x + 5 = 3x

what is x = ? , 4x + 5 = 3x

The two-dimensional Laplace equation

PROJECT # 2
[100 points] The two-dimensional Laplace equation around a cylinder with a domain [0, 2π]×[1, 5] is given
by.


∂x2
+


∂y2
= 0 (1)
The analytical solution is given by
ψ(r, θ) = U∞

r −
R2
r

sin(θ) (2)
(3)
In here R = 1 and U∞ = 1. The Drichlet boundary conditions:
ψ(1, θ) = 0 (4)
ψ(5, θ) = 
5 −
1
5

sin(θ) (5)
(6)
Use the second-order accurate finite element discretization with uniform 80 × 40, 160 × 80 and 320 × 160
quadrilateral elements to solve the above Laplace equation. For this purpose

  1. Implement the fully implicit finite element solution algorithm and use a direct solver (LU factorization) to solve.
  2. Plot Error function versus ∆r and ∆θ in a log-log scale. Compute the spatial convergence rate.
  3. Compare the error with the solutions of finite difference method.
    The error function is given by
    Error = kψi,j − ψanalytick2

    imaxjmax
    (7)
    [20 points] Solve the same problem with an unstructured quadrilateral/triangular elements.
    Several useful MATLAB commands:
    Crate a sparse matrix
    i=[];
    j=[];
    s=[];
    m=100;
    n=100;
    A=sparse(i, j, s, m, n);
    To solve a sparse linear system
    x = Ab ;
    0UUT510E, Return date: 20 May 2021
    1

Linear Algebra

Discuss proposed analysis tool for project
Basic linear programming model might be best
Not enough time to get accurate data for the Analytical Hierarchy Process (AHP) tool
Do we want to create simulated data points and use AHP?
Does the paper have to be a real problem or can it be fabricated?
Discuss responsibilities for project
Introduction and Statement of Problem completed – Chad
To do:
Definition of variables – Colleen (completed by Monday 11/23)
Objective statement with explanation – Colleen (Completed by Monday 11/23)
Identifying constraints – me (Completed
Model formulation with explanation – me (Completed
Solving the model – me (Completed
Conclusion – Hitesh (Completed by Monday 11/30)
Timeline for deliverables
Completed project: December 2
Project Outline

Section 1

-Introduction

-What decision making tools can be applied

Section 2

-Find literature relating to the topic

-Discuss literature

Section 3

-Describe the specific problem you want to solve

Section 4

-Analysis

-Solve the problem

Section 5

-Explicitly state your recommendations based upon the analysis from the previous section

Section 6

-Develop an action plan that brings your recommendation to the level of implementation.

Section 7

-Simulate your expectations, and hoped-for results if your recommendations are implemented. The section may also contain a cost and benefit analysis.