discrete math
most important is c) and e) and f) statements with nested quantifiers: variables ...
please with a clear and concise explanation on how to do each steps. So not just the answer but the explanation as well because I'm totally lost on how to do this at all.
Question: Discrete Math Most important is c) and e) and f) Statements with nested quantifiers: variables wi...
Discrete Math
Most important is c) and e) and f)
Statements with nested quantifiers: variables with different domains.
The domain for the first input variable to predicate T is a set of students at a university. The domain for the second input variable to predicate T is the set of Math classes offered at that university. The predicate T(x, y) indicates that student x has taken class y. Sam is a student at the university and Math 101 is one of the courses offered at the university. Give a logical expression for each sentence.
(b)
Every student has taken at least one math class.
(c)
Every student has taken at least one class other than Math 101.
(d)
There is a student who has taken every math class other than Math 101.
(e)
Everyone other than Sam has taken at least two different math classes.
(f)
Sam has taken exactly two math classes.
In: Advanced Math
6. The following data represents a company’s revenue in millions of dollars. Year: 2010 2012 2014 2015 2016 2018 2019 Revenue: 30 32 34 35 39 39 45 Let the year 2010 be the base year with x=0.
a) Model the data with a linear function using the points in years 2010 and 2019. Round computed values to 2 decimal places. Also, using your model predict the revenue in the year 2021 accurate to 3 decimal places.
b) Set up a table of (x, y) values to be used for a least squares model and find a linear least squares model y ax b = + for the data. Express the coefficients a and b accurate to 3 decimal places. Also, what is the 2 R value accurate to 3 decimal places?
c) Use your least squares model to predict the revenue in 2020 accurate to 3 decimal places and graph the actual and predicted revenue data superimposed on the same graph.
In: Advanced Math
What straight line y=ax+b best fits the following data in the least-squares sense?
x | 1 | 2 | 3 | 4 |
y | 0 | 1 | 1 | 2 |
i. Formulate the problem in the form Ax=b for appropriate A and b (matrix form).
We want to fit in the function g(x) = a sinx + b cosx for a data set
x 1 1.5 2 2.5
y 1.902 0.5447 0.9453 2.204
x | 1 | 1.5 | 2 | 2.5 |
y | 1.902 | 0.5447 | 0.9453 | 2.204 |
i. Formulate the problem in the form Ax=b for appropriate A and b (matrix form).
In: Advanced Math
use Lagrange multipliers to find the maximum and minimum values of f subject to the given constraint, if such values exist. f(x, y, z) = xyz, x2 + y2 + 4z2 = 12
In: Advanced Math
Based on dynamics, describe the behavior of a phase portrait of a n-body problem.
In: Advanced Math
Explain how you can use QR factorization to solve the following problem
Find x1 and x2 that minimize ||Ax1 − b1||^2 + ||Ax2 − b2||^2.
The problem data are the m× n matrix A,
and the m-vectors b1 and b2. The matrix A has linearly independent
columns.
In: Advanced Math
f(x)=x^3-3x-1=0
x=[0,2]
epsilon=5*10^-2
1. perform the bisection method for the root in [0,2] until your root is closer to the real root within epsilon.
Let x_0=1.0, x_1=1.2
2. perform the secant method until your root is closer to the real root within epsilon.
3. do as in 2. with the Newton's method, with x_0=1.1
In: Advanced Math
The values of Alabama building contracts (in millions of dollars) for a 12-month period follow.
250 340 230 250 280 310 210 320 250 300 240 230
(i) |
Value (Millions of dollars) Month (t) |
(ii) |
Value (Millions of dollars) Month (t) |
(iii) |
Value (Millions of dollars) Month (t) |
(iv) |
Value (Millions of dollars) Month (t) |
Moving average |
Exponential smoothing |
|
MSE |
In: Advanced Math
Solve the following differential equation. "Preferably using the chain rule/ order reduction".
(d) y′y′′−3(y′)^{2}=y^{2} y′′.
(e) (y′)2y′′=y.
In: Advanced Math
Postal regulations specify that a parcel sent by parcel post may have a combined length and girth of no more than 130 in. Find the dimensions of a cylindrical package of greatest volume that may be sent through the mail, using the method of Lagrange multipliers
In: Advanced Math
4. Let n ≥ 8 be an even integer and let k be an integer with 2 ≤ k ≤ n/2. Consider k-element subsets of the set S = {1, 2, . . . , n}. How many such subsets contain at least two even numbers?
In: Advanced Math
Consider the nonlinear equation f(x) = x3− 2x2 − x + 2 = 0.
(a) Verify that x = 1 is a solution.
(b) Convert f(x) = 0 to a fixed point equation g(x) = x where this is not the fixed point iteration implied by Newton’s method, and verify that x = 1 is a fixed point of g(x) = x.
(c) Convert f(x) = 0 to the fixed point iteration implied by Newton’s method and again verify that x = 1 is a fixed point.
(d) Write MATLAB code to iterate on your fixed point iteration as well as the fixed point iteration implied by Newton. Compare these results based on x0 = 1.1. How fast did Newton converge? How fast did your iteration from part b converge (or did it at all)? What does the theory of fixed points tell you about these convergence results?
In: Advanced Math
Let N(n) be the number of all partitions of [n] with no singleton blocks. And let A(n) be the number of all partitions of [n] with at least one singleton block. Prove that for all n ≥ 1, N(n+1) = A(n). Hint: try to give (even an informal) bijective argument.
In: Advanced Math
Find the directional derivative of f(x,y)=arctan(xy) at the point (-2,5) in the direction of maximum decrease.
What is the Domain and Range of f(x,y)=arctan(xy)?
In: Advanced Math
State the condition on the derivative f' that can be used to show that a function f is increasing.
b Define the function arctan.
c Explain how one, starting from the definition of arctan, may derive an expression for the derivative of this function, and carry out that calculation.
In: Advanced Math