Answer:
function pecoDesconto(preco, estaComDesconto) {
let p = preco;
let desconto = estaComDesconto;
if(p > 100 && desconto == false){
return "Quero pechinchar";
}else{
return "Negócio fechado";
}
}
Explanation:
function pecoDesconto(preco, estaComDesconto) {
// Implemente a função ao lado, que recebe um preço//
let p = preco;
// variavel que indica desconco//
let desconto = estaComDesconto;
//Se o preço for maior que 100 e não estiver com desconto, a função deve retornar Quero pechinchar.//
if(p > 100 && desconto == false){
return "Quero pechinchar";
//Caso contrário, deve retornar Negócio fechado
}else{
return "Negócio fechado"
}
}
só te faltou ler com atenção, e um pouco de logica!
When the network stack translates an IP address (network address) to a MAC address (data link address) it sends a broadcast using ARP to all devices on the subnet asking who has the specified IP address. The device with that IP address will then respond with it's MAC address to the ARP message's source.
With this in mind the answer to your question would either be broadcast or ARP request depending on what you have been learning in class.
Answer:
Pattern recognition is the process of recognizing patterns by using machine learning algorithm. ... In a typical pattern recognition application, the raw data is processed and converted into a form that is amenable for a machine to use. Pattern recognition involves classification and cluster of patterns
Explanation:
Answer:An initial condition is an extra bit of information about a differential equation that tells you the value of the function at a particular point. Differential equations with initial conditions are commonly called initial value problems.
The video above uses the example
{
d
y
d
x
=
cos
(
x
)
y
(
0
)
=
−
1
to illustrate a simple initial value problem. Solving the differential equation without the initial condition gives you
y
=
sin
(
x
)
+
C
.
Once you get the general solution, you can use the initial value to find a particular solution which satisfies the problem. In this case, plugging in
0
for
x
and
−
1
for
y
gives us
−
1
=
C
, meaning that the particular solution must be
y
=
sin
(
x
)
−
1
.
So the general way to solve initial value problems is: - First, find the general solution while ignoring the initial condition. - Then, use the initial condition to plug in values and find a particular solution.
Two additional things to keep in mind: First, the initial value doesn't necessarily have to just be
y
-values. Higher-order equations might have an initial value for both
y
and
y
′
, for example.
Second, an initial value problem doesn't always have a unique solution. It's possible for an initial value problem to have multiple solutions, or even no solution at all.
Explanation:
Answer:
Cccccccccccccccccccccccccccccccccc