1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
fredd [130]
2 years ago
10

CAR people need some help fr which cars should be my first super car pls

Engineering
2 answers:
hammer [34]2 years ago
7 0

Answer:

nah none of those i would get a tesla, mclaren, corvette, or even a toyota camery or tundra!

Explanation:

my dads is really big into cars and stuuf so i learn a little lol! hope it helps! thanks for the points by the way!

qaws [65]2 years ago
3 0

Answer:

i can answer twice? free points thxxx

Explanation:

You might be interested in
Match the scenario to the term it represents.
Ann [662]

Answer:

i nrfvewv

Explanation:

3 0
2 years ago
What Happens If A Sonic Boom Is Created?
Volgvan

Answer:

Explanation:

A sonic boom is a loud sound kind of like an explosion. It's caused by shock waves created by any object that travels through the air faster than the speed of sound. Sonic booms create huge amounts of sound energy. When an object moves through the air, it makes pressure waves in front of and behind it.

8 0
2 years ago
For unrestrained cube made from linear, isotropic, homogeneous material the temperature increase causes strain in_____ direction
LenKa [72]

Answer: The answer is four; four

Explanation: This is because of the mixture of material used and the number of directions it causes strain I directly proportional to the number of times it causes stress.

7 0
2 years ago
LINKS GET BODIED ON SITE! RAWR
bulgar [2K]

Answer:

False

Explanation:

MRK ME BRAINLIEST PLZZZZZZZZZZZZZZZZZZ

7 0
3 years ago
For this problem, you may not look at any other code or pseudo-code (even if it is on the internet), other than what is on our w
sergiy2304 [10]

Answer:

(a)

(i) pseudo code :-

current = i

// assuming parent of root is -1

while A[parent] < A[current] && parent != -1 do,

if A[parent] < A[current] // if current element is bigger than parent then shift it up

swap(A[current],A[parent])

current = parent

(ii) In heap we create a complete binary tree which has height of log(n). In shift up we will take maximum steps equal to the height of tree so number of comparison will be in term of O(log(n))

(b)

(i) There are two cases while comparing with grandparent. If grandparent is less than current node then surely parent node also will be less than current node so swap current node with parent and then swap parent node with grandparent.

If above condition is not true then we will check for parent node and if it is less than current node then swap these.

pseudo code :-

current = i

// assuming parent of root is -1

parent is parent node of current node

while A[parent] < A[current] && parent != -1 do,

if A[grandparent] < A[current] // if current element is bigger than parent then shift it up

swap(A[current],A[parent])

swap(A[grandparent],A[parent])

current = grandparent

else if A[parent] < A[current]

swap(A[parent],A[current])

current = parent

(ii) Here we are skipping the one level so max we can make our comparison half from last approach, that would be (height/2)

so order would be log(n)/2

(iii) C++ code :-

#include<bits/stdc++.h>

using namespace std;

// function to return index of parent node

int parent(int i)

{

if(i == 0)

return -1;

return (i-1)/2;

}

// function to return index of grandparent node

int grandparent(int i)

{

int p = parent(i);

if(p == -1)

return -1;

else

return parent(p);

}

void shift_up(int A[], int n, int ind)

{

int curr = ind-1; // because array is 0-indexed

while(parent(curr) != -1 && A[parent(curr)] < A[curr])

{

int g = grandparent(curr);

int p = parent(curr);

if(g != -1 && A[g] < A[curr])

{

swap(A[curr],A[p]);

swap(A[p],A[g]);

curr = g;

}

else if(A[p] < A[curr])

{

swap(A[p],A[curr]);

curr = p;

}

}

}

int main()

{

int n;

cout<<"enter the number of elements :-\n";

cin>>n;

int A[n];

cout<<"enter the elements of array :-\n";

for(int i=0;i<n;i++)

cin>>A[i];

int ind;

cout<<"enter the index value :- \n";

cin>>ind;

shift_up(A,n,ind);

cout<<"array after shift up :-\n";

for(int i=0;i<n;i++)

cout<<A[i]<<" ";

cout<<endl;

}

Explanation:

8 0
3 years ago
Other questions:
  • 6.Identification of Material ParametersThe principal in-plane stresses and associated strains in a plate of material areσ1= 50 k
    5·1 answer
  • Air is contained in a vertical piston–cylinder assembly such that the piston is in static equilibrium. The atmosphere exerts a p
    9·1 answer
  • A 3-phase induction motor with 4 poles is being driven at 45 Hz and is running in its normal operating range. When connected to
    12·1 answer
  • A 150-lbm astronaut took his bathroom scale (aspring scale) and a beam scale (compares masses) to themoon where the local gravit
    9·1 answer
  • Assume the triac of an AC discrete output module fails in the shorted state. How would this affect the device connected to this
    5·1 answer
  • In fully developed laminar flow in a circular pipe the velocity at R/2 (mid-way between the wall surface and the centerline) is
    10·2 answers
  • Is a street the same as a avenue
    10·2 answers
  • Please choose a specific type of stability or control surface (e.g., a canard) and explain how it is used, what it is used for,
    5·1 answer
  • A dual-fluid heat exchanger has 10 lbm/s water entering at 100 F, 20 psia and leaving at 50 F, 20 psia. The other fluid is glyco
    13·1 answer
  • 3. Determine the most unfavorable arrangement of the crane loads and
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!