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
Kisachek [45]
3 years ago
13

HELP ME PLS ILL GIVE YOU BRAINLIST

Mathematics
1 answer:
crimeas [40]3 years ago
3 0
I don’t know I’m sorry …
You might be interested in
Randy ordered 3 T-shirts for $25.67 each and one skirt for $23.55 and an 8% tax. What is the total cost of the order?
Mekhanik [1.2K]
The total cost would be 111.84 
7 0
3 years ago
Read 2 more answers
To the nearest​ millimeter, a cell phone is 74 mm long and 44 mm wide. What is the ratio of the width to the​ length?
Vesna [10]

Answer:

compare the width to the length, or 42 mm/ 74mm

Step-by-step explanation:

7 0
3 years ago
How much is 25% of 10.2 liters of lemonade?
Citrus2011 [14]

10.2l = 10200ml \\ 10200 \times  \frac{25}{100} \\   = 2,550ml

=2.55l

4 0
3 years ago
The ternary search algorithm locates an element in a list of increasing integers by successively splitting the list into three s
Zigmanuir [339]

Answer:

Algorithm

The steps involved in this algorithm are:

(The list must be in sorted order)

• Step 1: Divide the search space (initially, the list) in three parts (with two mid-points: mid1 and mid2)

• Step 2: The target element is compared with the edge elements that is elements at location mid1, mid2 and the end of the search space. If element matches, go to step 3 else predict in which section the target element lies. The search space is reduced to 1/3rd. If the element is not in the list, go to step 4 or to step 1.

• Step 3: Element found. Return index and exit.

• Step 4: Element not found. Exit.

Complexity

• Worst case time complexity: O(log N)

• Average case time complexity: O(log N)

• Best case time complexity: O(1)

• Space complexity: O(1)

Algorithm

The steps involved in this algorithm are:

(The list must be in sorted order)

• Step 1: Divide the search space (initially, the list) in three parts (with two mid-points: mid1 and mid2)

• Step 2: The target element is compared with the edge elements that is elements at location mid1, mid2 and the end of the search space. If element matches, go to step 3 else predict in which section the target element lies. The search space is reduced to 1/3rd. If the element is not in the list, go to step 4 or to step 1.

• Step 3: Element found. Return index and exit.

• Step 4: Element not found. Exit.

Complexity

• Worst case time complexity: O(log N)

• Average case time complexity: O(log N)

• Best case time complexity: O(1)

• Space complexity: O(1)

#include <stdio.h>

int ternarySearch(int array[], int left, int right, int x)

{

  if (right >= left) {

    int intvl = (right - left) / 3;

    int leftmid = left + intvl;

    int rightmid = leftmid + intvl;

    if (array[leftmid] == x)

       return leftmid;

    if (array[rightmid] == x)

       return rightmid;

    if (x < array[leftmid]) {

      return ternarySearch(array, left, leftmid, x);

    }

    else if (x > array[leftmid] && x < array[rightmid]) {

      return ternarySearch(array, leftmid, rightmid, x);

    }

    else {

      return ternarySearch(array, rightmid, right, x);

    }

  }

  return -1;

}

int main(void)

{

  int array[] = {1, 2, 3, 5};

  int size = sizeof(array)/ sizeof(array[0]);

  int find = 3;

  printf("Position of %d is %d\n", find, ternarySearch(array, 0, size-1, find));

  return 0;

}

Step-by-step explanation:

6 0
3 years ago
10 examples of points geometry
erica [24]
A point in geometry is a location. It has no size, no width, no length and no depth.

A tip of a sword.
A period at the end of a sentence.
A bead.
Thumbtacks.
A pinhole on a graph.
Cell.
Floor meet at the corner of the room.
A point where 2 wall meet.
A hole in the ceiling.
A hole made be a safety pin in a thin fabric.
7 0
3 years ago
Other questions:
  • How many solutions are possible for a system of equations containing exactly one linear and one quadratic equation? (Select all
    5·1 answer
  • What is the equation of the line in general form, that passes through the point (-1,-1) and is parallel to the line whose equati
    15·1 answer
  • Mia recently bought a car worth $20,000 on loan with an interest rate of 6.6%. She made a down payment of $1,000 and has to repa
    12·2 answers
  • 50 POINTS !!<br><br><br> PLEASE HELP !! ILL GIVE BRAINLIEST TO THE RIGHT ANSWERS.
    7·1 answer
  • (x²-1)³ with Identities how much it is and also explain plzzzz​
    11·2 answers
  • Please help me and answer fast please please please
    8·1 answer
  • Answer all of the questions for brainliest thanks
    9·1 answer
  • Please help!!!
    12·1 answer
  • P, Q and R are points in the same
    9·1 answer
  • Order these following rational numbers from greatest to least:<br> 25% -0.17 3/5 -1/12 12
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!