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
EastWind [94]
3 years ago
10

Determine the value for the following recursive method when x = 19.

Computers and Technology
1 answer:
Vedmedyk [2.9K]3 years ago
3 0

Answer:

f(19) = 2

Explanation:

Given

f(x) = f(x - 5)+ 2 --- x > 9

f(x) = -2 --- x \le 9

Required

Find f(19)

f(19) implies that: x = 19

Since 19 > 9, we make use of:

f(x) = f(x - 5)+ 2

f(19) = f(19 - 5) + 2

f(19) = f(14) + 2 ----- (1)

Calculate f(14)

f(14) implies that: x = 14

Since 14 > 9, we make use of:

f(x) = f(x - 5)+ 2

f(14) = f(14 - 5) + 2

f(14) = f(9) + 2 ------ (2)

Calculate f(9)

f(9) implies that: x = 14

Since 9 \le 9, we make use of:

f(x) = -2

f(9) = -2

So:

f(14) = f(9) + 2

f(14) = -2 + 2

f(14) = 0

f(19) = f(14) + 2

f(19) = 0 + 2

f(19) = 2

You might be interested in
As an experienced networking professional, you are asked to conduct a posture assessment on a local credit union’s network. The
ale4655 [162]

Answer:1987

Explanation:guess

8 0
4 years ago
Diane, a developer, needs to program a logic component that will allow the user to enter a series of values
oee [108]
<h2>The Examples Of Users:</h2>
  • Form
  • Table
  • Query
<h2>The Answers Are:</h2>
  • Formatted summary of information from a database

  • User-friendly interface for adding to or retrieving information from a database

  • Stores raw data in a relational database

  • Retrieves specific information from a database. Can also be used to update, edit, and remove data
<h2>Hope it helps*^-^*All Correct!?</h2>
3 0
2 years ago
PLEASE HURRY!!
PtichkaEL [24]

Answer: I would say the first one

Explanation: I have never seen an interactive button for use in autoformatting at least on a presentation

8 0
3 years ago
8. Which of the following could be measured by defining a goal in Google Analytics?
Slav-nsk [51]

All of these could be measured by defining a goal in Google Analytics is the answer.

Explanation:

  • Google Analytics is a web analytics service offered by Google that tracks and reports website traffic, currently as a platform inside the Google Marketing Platform brand.
  • Google Analytics is one of the most popular digital analytics software. It is Google's free web analytics service that allows you to analyze in-depth detail about the visitors on your website. It provides valuable insights that can help you to shape the success strategy of your business.
  • Google Analytics works by the inclusion of a block of JavaScript code on pages in your website. When users to your website view a page, this JavaScript code references a JavaScript file which then executes the tracking operation for Analytics.
  • The percentage of visits that result in a site registration , conversion rate , the percentage of visits during which visitors spent at least two minutes on the site all define a goal in Google Analytics.

8 0
3 years ago
B. An advantage of a WAN is that everyone on the network can access the same<br>data and​
IrinaVladis [17]
Ns provide dedicated traffic for your organization, and they are much more secure than the internet itself. Additionally, sending your information across the internet means that you have to share bandwidth with millions of other businesses rather than having your own dedicated bandwidth by using WAN
5 0
3 years ago
Other questions:
  • (If the link is not working, search for "Veritasium Levitating Barbecue". At approximately the 2 minute mark, the screen shows 8
    9·1 answer
  • What are the core scripting and coding technolies used to build ai platforms?
    14·1 answer
  • Write a function getPigLatin(pigStr) that accepts pigStr as a parameter (a sentence as input) and converts each word to "Pig Lat
    8·1 answer
  • Which of the following solutions enables simultaneous digital transmission of voice, video, data, and other network services ove
    7·1 answer
  • I wiil mark brainlist ​
    8·1 answer
  • You are implementing a new application control solution. Prior to enforcing your application whitelist, you want to monitor user
    5·1 answer
  • In this project you will write a set of instructions (algorithm). The two grids below have colored boxes in different
    9·2 answers
  • 31. Explain what the program does. Write out the output 20 PRINT "Hellooo00000000000, world!" 30 PRINT "I'm learning about comma
    7·1 answer
  • What are 6 subtopics on computer programming ?
    13·1 answer
  • The _________________ creates international guiding principles for computer forensic examiners.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!