Ace - AI Tutor
Ask Our Educators
Textbooks
My Library
Flashcards
Scribe - AI Notes
Notes & Exams
Download App
lisa mendoza

lisa m.

Divider

Questions asked

BEST MATCH

C++Given main(), complete the Artist class (in files Artist.h and Artist.cpp) with constructors to initialize an artist's information, get member functions, and a PrintInfo() member function. The default constructor should initialize the artist's name to "unknown" and the years of birth and death to -1. PrintInfo() displays "Artist:", then a space, then the artist's name, then another space, then the birth and death dates in one of three formats: (XXXX to YYYY) if both the birth and death years are nonnegative (XXXX to present) if the birth year is nonnegative and the death year is negative (unknown) otherwise Complete the Artwork class (in files Artwork.h and Artwork.cpp) with constructors to initialize an artwork's information, get member functions, and a PrintInfo() member function. The default constructor should initialize the title to "unknown", the year created to -1. PrintInfo() displays an artist's information by calling the PrintInfo() function in the Artist class, followed by the artwork's title and the year created. Declare a private field of type Artist in the Artwork class. Ex: If the input is: Pablo Picasso Three Musicians 1881 1973 1921 1881 and 1973 being the birth and death years respectively, with 1921 being the year the work was created, the output is: Artist: Pablo Picasso (1881 to 1973) Title: Three Musicians, 1921 Ex: If the input is: Brice Marden Distant Muses 1938 -1 2000 the output is: Artist: Brice Marden (1938 to present) Title: Distant Muses, 2000 Ex: If the input is: Banksy Balloon Girl -1 -1 2002 the output is: Artist: Banksy (unknown) Title: Balloon Girl, 2002

View Answer
divider
BEST MATCH

10. A photon with a wavelength of 300 nm is incident on a metal surface with a binding energy of 2.5 eV. What is the average velocity of the ejected electron? ($m_e = 9.11 \times 10^{-31}$ kg, 1 eV = $1.6 \times 10^{-19}$ J) A. $7.6 \times 10^5$ m/s B. $1.8 \times 10^6$ m/s C. $2.5 \times 10^6$ m/s D. $5.2 \times 10^6$ m/s E. $9.2 \times 10^6$ m/s $\lambda = 300 \, nm$

View Answer
divider
BEST MATCH

A solid aluminum shaft 100 mm long is pin connected in compression. The diameter of the shaft is 12 mm. What is the Euler buckling load in pounds? Use material properties for aluminum alloy 6061-T6, assume a proportional limit of 35 ksi.

View Answer
divider
BEST MATCH

Based on the lectures, Darwin's theory helps us better understand why faster, bigger, and stronger characteristics exist today. 1) True 2) False

View Answer
divider
BEST MATCH

Why is Piaget's Theory of Cognitive Development helpful in understanding the brain? (Please make sure to provide specific examples from a personalized perspective)

View Answer
divider
BEST MATCH

Differentiate the following function.\ h(\theta) = 8 \sec(\theta) + 9e^{\theta} \tan(\theta)

View Answer
divider
BEST MATCH

Answer all the three questions in the image after reading carefully. All three questions are related to advanced algorithms. Consider a set A = {a1, a2, ..., an} and a collection B1, B2, ..., Bm of subsets of A (i.e., Bi ⊆ A for each i). We say that a set H ⊂ A is a hitting set for the collection B1, B2, ..., Bm if H contains at least one element from each Bi, that is, if H ∩ Bi ≠ ∅ for each i (so H hits all the sets Bi). We now define the Hitting Set Problem as follows. We are given a set A = {a1, a2, ..., an}, a collection B1, B2, ..., Bm of subsets of A, and a number k. We are asked: Is there a hitting set H ⊆ A for B1, B2, ..., Bm such that the size of H is at most k? Show that 3 - SAT ⊆ Hitting Set. Hint: Design an algorithm so that it converts a 3-CNF-formula with m clauses over n variables into an instance of Hitting Set with the universe that has 2n elements (one for each literal in ), The collection that contains exactly m + n sets. Moreover n sets in the collection contain exactly 2 elements. The requested size of the actual hitting set in this instance is n. Consider an instance of the Satisfiability Problem, specified by clauses Q over a set of Boolean variables x1, x2, ..., xn. We say that the instance is monotone if each term in each clause consists of a non-negated variable; that is, each term is equal to xi, for some i, rather than ¬xi. Monotone instances of Satisfiability are very easy to solve: They are always satisfiable, by setting each variable equal to 1. For example, suppose we have the three clauses x1 ∨ x2, x2 ∨ x3, x1. This is monotone, and indeed the assignment that sets all three variables to 1 satisfies all the clauses. But we can observe that this is not the only satisfying assignment; we could also have set x1 and x2 to 1, and x3 to 0. Indeed, for any monotone instance, it is natural to ask how few variables we need to set to 1 in order to satisfy it. Given a monotone instance of Satisfiability together with a number k, the problem of Monotone Satisfiability with Few True Variables asks: Is there a satisfying assignment for the instance in which at most k variables are set to 1? Show that Hitting Set ≤p Monotone SAT w/Few True Var's. Hint: Convert an instance of hitting set into CNF-formula that Contains as many clauses as sets in the collection of hitting set instance Is defined over as many variables as there are elements in the universe of hitting set instance. Your friends at WebExodus have recently been doing some consulting work for companies that maintain large, publicly accessible Web sites - contractual issues prevent them from saying which ones - and they've come across the following Strategic Advertising Problem. A company comes to them with the map of a Web site, which we'll model as a directed graph G = (V, E). The company also provides a set of t trails typically followed by users of the site; we'll model these trails as directed paths P1, P2, ..., Pt in the graph G (i.e., each Pi is a path in G). The company wants WebExodus to answer the following question for them: Given G, the paths Pi, and a number k, is it possible to place advertisements on at most k of the nodes in G, so that each path Pi includes at least one node containing an advertisement? We'll call this the Strategic Advertising Problem, with input G, P, : i = 1, ..., t, and k. Show that Vertex Cover ≤p Strategic Advertising. Hint: Can a path contain only one edge? Of course it can.

View Answer
divider
BEST MATCH

Maximizing the Viewing Angle A billboard that is 30 ft wide is placed 60 ft from a highway as shown in the figure. The billboard is easiest to read from the highway when the viewing angle $\alpha$ is larger than $7^{\circ}$. a) Show that $\alpha = \tan^{-1}(90/x) - \tan^{-1}(60/x)$. b) Graph the function in part (a). c) For what approximate values of $x$ is $\alpha$ greater than $7^{\circ}$? d) For approximately how long does a motorist traveling at 35 mph have a view- ing angle larger than $7^{\circ}$?

View Answer
divider
BEST MATCH

If the point ($-10, 6.4$) lies on the graph of $f$, then $f($___$) = $___$. A. $f(0) = 6.4$ B. $f(-10) = 0$ C. $f(-10) = 6.4$ D. $f(6.4) = -10$

View Answer
divider
BEST MATCH

The Sodium-Potassium (Na+-K+) Pump is a type of [Select] transport [Select] ? that [Select] ATP to ions into the cell and [Select] ions out of the cell as it is necessary for muscle and nerve functioning.

View Answer
divider