Create a function called notBad that takes a single argument, a string.
It should find the first appearance of the substring 'not' and 'bad'.
If the 'bad' follows the 'not', then it should replace the whole 'not'...'bad' substring with 'good' and return the result.
If it doesn't find 'not' and 'bad' in the right sequence (or at all), just return the original sentence.
For example:
notBad('This dinner is not that bad!'): 'This dinner is good!'
notBad('This movie is not so bad!'): 'This movie is good!'
notBad('This dinner is bad!'): 'This dinner is bad!'

Answers

Answer 1

Answer:

The Following are the method definition to this question:

def notBad(s):#defining a method notBad that take s variable as parameter

   if 'not' not in s or 'bad' not in s: # defining If block that checks "not or bad" is not in the string

       return s#return string value

   n= s.index('not')#defining n variable that store index value of not

   b= s.index('bad')#defining b variable that store index value of bad

   if n<b:#defining if block that compare n and b value  

       return s[:n]+'good'+s[b+3:]#use slicling for remove value and add another value

print(notBad('This dinner is not that bad!'))#call method and print value

print(notBad('This movie is not that bad!'))#call method and print value

print(notBad('This dinner bad!'))#call method and print value

Output:

This dinner is good!

This movie is good!

This dinner bad!

Explanation:

In the above given, method definition a method "notBad" is defined that takes variable "s" as a parameter, which is used for input the string value.

In the next step, an if block, is defined, that checks in string value "not or bad" are not available in the input string. if the condition is true, it will return, that string value.

In the next line "n and b" variable has defined, that store "not and bad" index value, and use if block that the come to its value and use slicing to re remove its value.


Related Questions

Suppose Alice and Bob are sending packets to each other over a computer network. Suppose Trudy positions herself in the network so that she can capture all the packets sent by Alice and send whatever she wants to Bob; she can also capture all the packets sent by Bob and send whatever she wants to Alice.

Required:
List some of the malicious things Trudy can do from this position.

Answers

Answer:

Trudy can

1. corrupt the packet sent over the network

2. fail to deliver packet to the receiver

3. compromise private data

4. can drop packets

5. modify the packet

Explanation:

the question tells us about the transfer of packets between two people or clients. but there is now a third person Trudy because the network has been compromised. so Trudy can capture the packets and use them maliciously from her position by:

corrupting the data packets of either Bob or alice or both and this would end up causing discrepancies between what was sent and what was intended by the sender

trudy would have seen all the contents of this packet and still pretend like she knows nothing about it. Data loss can occur because trudy might receive packet and maliciously fail to deliver it to the intended receiver leading to a compromise and loss of data.

trudy can compromise private data by pretending, listening and observing from her position while acting as either Bob or alice and she can modify data, misuse data or even drop it.

A computer-aided drafting application would be best run on which type of device?

O Laptop
O Desktop
O Tablet
O Smartphone

Answers

A desktop because it would just work best. I’m not 100% sure this is right tho
The answer is desktop because it has the most processing power no matter what

PLEASE AWNSER 50 POINTS PLUS BRAINLEST ILL FAIL MY GRADE IF I DONT AWNSER IN A HOUR!

Code in Python

Write a program to convert a fraction to a decimal. Have your program ask for the numerator first, then the denominator. Make sure to check if the denominator is zero. If it is, print out "Error - cannot divide by zero."

Hint: Since this lesson uses if-else statements, remember to use at least one if-else statement in each of your answers to receive full credit.

Sample Run 1
Numerator: 10
Denominator: 0
Sample Output 1
Error - cannot divide by zero.
Sample Run 2
Numerator: 12
Denominator: 15
Sample Output 2
Decimal: 0.8

Answers

Answer:go to google

google should know

thats a lot of math ;p

Explanation:

What would most likely be more powerful-A=AMD ryzen 5 2.4Ghz processor with 32gb of ram and 512gb of storage or B=Intel Core i5 2.8Ghz processor with only 16gb of ram and 256gb of storage? Please don't give me your opinion give me details on which one is more powerful. Either A or B.

Answers

Answer:

I think the answer is B, 2.4 GHz processor, 8 GB RAM, 1 TB hard drive

Explanation:

The main workspace of a Windows computer is called the______

Answers

Answer:

Desktop

Explanation:

The main workspace of a Windows computer is called the desktop.

What is a desktop computer?

A desktop computer can be defined a type of computer that is designed and developed to use a keyboard, large screen (monitor), and mouse that are separately attached to the central processing unit (CPU) and usually placed under or on top of a table (desk).

Generally speaking, cleaning the inside of a desktop is important especially if it is used in a dry or dusty environment.

In this context, we can reasonably infer and logically deduce that a desktop refers to the main workspace of a Windows computer.

Read more on desktop computer here: brainly.com/question/27099989

#SPJ6

Write a program that converts degrees Fahrenheit to Celsius using the following formula. degreesC = 5(degreesF – 32)/9 Prompt the user to enter a temperature in degrees Fahrenheit (just a whole number of degrees without a fractional part), and then let the program print out the equivalent Celsius temperature, including the fractional part to one decimal point. Use the Math.Round(number, decimal) method. A possible dialog might be:______.
Enter a temperature in degrees Fahrenheit: 72 72 degrees Fahrenheit = 22.2 degrees Celsius.

Answers

Answer:

Written in Python

import math

degreesF = float(input("Enter a temperature in degrees Fahrenheit: "))

degreesC = round(5 * (degreesF - 32)/9,1)

print(degreesC)

Explanation:

The following header allows you to use Math.Round() method in Python

import math

The following prompts the user for temperature in degrees Fahrenheit

degreesF = float(input("Enter a temperature in degrees Fahrenheit: "))

The following calculates the degree Celsius equivalent and also round it up

degreesC = round(5 * (degreesF - 32)/9,1)

The following prints the degree Celsius equivalent

print(degreesC)

Warm up: Variables, input, and casting
(1) Prompt the user to input an integer, a double, a character, and a string, storing each into separate variables. Then, output those four values on a single line separated by a space.
Note: This zyLab outputs a newline after each user-input prompt. For convenience in the examples below, the user's input value is shown on the next line, but such values don't actually appear as output when the program runs.
Enter integer: 99 Enter double: 3.77 Enter character: Z Enter string: Howdy 99 3.770000 z Howdy
(2) Extend to also output in reverse.
Enter integer: 99 Enter double:
3.77 Enter character: z Enter string: Howdy 99 3.770000 z Howdy Howdy z 3.770000 99
(3) Extend to cast the double to an integer, and output that integer.
Enter integer: 99 Enter double: 3.77 Enter character: Z Enter string: Howdy 99 3.770000 z Howdy Howdy z 3.770000 99 3.770000 cast to an integer is 3 LAB ACTIVITY 2.29.1: LAB: Warm up: Variables, input, and casting 0/5 main.c Load default template... 1 #include 2 3 int main(void) { 4 int user Int; double userDouble; // FIXME: Define char and string variables similarly printf("Enter integer: \n"); scanf("%d", &user Int); // FIXME
(1): Finish reading other items into variables, then output the four values on a single line separated by a space 19 11 12 13 14 15 16 17 18 // FIXME
(2): Output the four values in reverse // FIXME (3): Cast the double to an integer, and output that integer

Answers

Answer:

#include <stdio.h>

int main()

{

   int userInt;

   double userDouble;

   char userChar;

   char userString[50];

   

   printf("Enter integer: \n");

   scanf("%d", &userInt);

   

   printf("Enter double: \n");

   scanf("%lf", &userDouble);

   

   printf("Enter character: \n");

   scanf(" %c", &userChar);

   

   printf("Enter string: \n");

   scanf("%s", userString);

   

   printf("%d %lf %c %s \n", userInt, userDouble, userChar, userString);

   printf("%d %lf %c %s %s %c %lf %d \n", userInt, userDouble, userChar, userString, userString, userChar, userDouble, userInt);

   printf("%d %lf %c %s %s %c %lf %d %lf cast to an integer is %d \n", userInt, userDouble, userChar, userString, userString, userChar, userDouble, userInt, userDouble, (int)userDouble);

   return 0;

}

Explanation:

In addition to int and double, declare the char and string

In addition to the int, ask the user to enter the double, char and string

Print the variables in the same order as they entered

In addition to entered order, also print the variables in reverse order - type the variables in reverse order

In addition to reverse order, print the casting value of the double as int - to cast a double to an int put (int) before the variable name

What are some methods of cyber bullying ?

Answers

Answer:

HARASSMENT

IMPERSONATION

INAPPROPRIATE PHOTOGRAPHS

WEBSITE CREATION

VIDEO SHAMING

Write the statements needed so that the variable secondWord is associated with the second word of the value of sentence . So, if the value of sentence were "Broccoli is delicious." your code would associate secondWord with the value "is" .

Answers

Answer:

Explanation:

String str = "Broccoli is delicious.";

String[] Secondstr = str.split(" ");

System.out.println("second word is " + Secondstr[1]);

if greg works in record management and is responsible for filing documents as well as using the locator system to maximize efficiency, he is in charge of

Answers

Answer:

Customer support or programming.

Explanation:

Answer:

customer support or programming is the correct answer

Explanation:

(01.05 LC)

When a user responds to a prompt, their response is known as __________.

input
output
text
value

Answers

The answer is input! because the input is what the user enters, the output is what comes out from that, and the text and value aren’t related to the user
Their answer is known as an input, because they are saying what they know/think. Sorry if this didnt help have a nice day though^^

why we can not see objects around us in the dark​

Answers

Answer:

We see an object when light falls on it and gets reflected from its surface and enters our eyes. In a dark room, there is no source of light. no light falls on the surface of objects and we do not see them. This is why we cannot see the objects in a dark room.

What is an example of conditional formatting? Cells in a row have a yellow background. Cells in a range with values under 10 have a red background. Cells in a column have green text. Cells in a worksheet have borders around their edges.

Answers

Answer:

Cells in a range with values under 10 have a red background.

Explanation:

Just took it :)

Answer:

A. Cells in a range with values under 10 have a red background.

Explanation: edge 2022

After a team member writes a piece of code, how can she ensure that it works, before checking it in?​

Answers

Answer:

Answer: After a team member writes a piece of code, and in order to ensure that his/her code shall behave properly in the integration testing, the member should perform unit testing on his piece of code by ensuring the appropriate results are given by the program.

Explanation:

how is a digital footprint created ?

Answers

Answer:

A digital footprint is created by traceable digital activities, actions, contributions and communications manifested on the Internet or on digital devices.

If my answer helped, kindly mark me as the brainliest!!

Thank You!

Write the method mirrorVerticalRightToLeft that mirrors a picture around a mirror placed vertically from right to left.

Answers

Answer:

Here is the method mirrorVerticalRightToLeft

public void mirrorVerticalRightToLeft()  {  //method definition

 Pixel[][] pixels = this.getPixels2D();  //uses getPixels2D() method which returns a two-dimensional array of Pixel object and stores this in pixels

 Pixel leftPixel = null;  //Pixel object leftPixel set to null

 Pixel rightPixel = null;  //Pixel object rightPixel set to null

 int width = pixels[0].length;  // returns the length of 0-th element of pixels and assigns it to width

 for (int row = 0; row < pixels.length; row++) {  //iterates through the rows of pixels array

  for (int col = 0; col < width / 2; col++)  {  //iterates through the columns of pixels array

   leftPixel = pixels[row][col];  //sets leftPixel to a certain point of row and column  of pixel array

   rightPixel = pixels[row][width - 1 - col];  //sets rightPixel to a certain point of row and column  of pixel array

   leftPixel.setColor(rightPixel.getColor());  }  }  } //uses object leftPixel to call setColor() method to set color of leftPixel to specified color and rightPixel is used to call getColor method to get the current color

Explanation:

The method mirrorVerticalRightToLeft is used to mirror a picture around a mirror placed vertically from right to left. It uses two loops, the outer loop iterates through each row and inner loop iterates through columns as long as the col variable stays less than width / 2 whereas width is set to pixels[0].length which compute the length of 0-th pixel. At each iteration we have the two position instance variables i.e. leftPixel and rightPixel such that leftPixel is set to pixels[row][col] and rightPixel is set to pixels[row][width - 1 - col]; For example if row = 0 and col = 0 then

leftPixel = pixels[0][0] which means it is positioned at 0th row and 0th column of 2D pixels array so it is positioned at the 1st pixel/element. It works this way at each iteration.

rightPixel = pixels[row][width - 1 - col]; for same example becomes:

rightPixel = pixels[0][width - 1 - 0];

So whaterbe is the value of width, the rightPixel is positioned at 0th row and width-1th column. Now after each of leftPixel and rightPixel  is placed to the desired pixel of pixels array then next the statement: leftPixel.setColor(rightPixel.getColor()); executes in which leftPixels calls setColor which sets the color to the specified color and rightPixel calls getColor method to get the current color. Suppose getColor returns the color blue so this color is set to leftPixel and this is how the picture is mirrored.

Java Eclipse homework. I need help coding this

Project6A - Compute this

package: proj6A
class: ComputeThis

Create a new package in your Lesson 06 folder called project6a.
Next create a class named ComputeThis.
The main method of should calculate the value of the following formulas and present the answers as shown.

d1 = 3πsin(187°) + |cos(122°)| …Remember that the arguments of sin and cos must be in radians.
d2 = (14.72)3.801 + ln 72 …ln means log base e
The output of your code should appear as follows:
d1 = -0.618672237585067
d2 = 27496.988867001543
---------------------------------------------
Extend: Now write a program to calculate the surface area and volume of a cylinder with a radius of 2 feet and a height of 5 feet.

Answers

public class ComputeThis {

   

   public static void main(String[] args) {

      double d1 = 3*Math.PI*Math.sin(3.26377)+ Math.abs(Math.cos(2.1293));

      double d2 = ((14.72)*3.801)+(Math.log(72));

      double surfaceArea = (2*Math.PI*2*5) + (2*Math.PI * (2*2));

      double volume = Math.PI * (2 * 2) * 5;

      System.out.println(d1);

      System.out.println(d2);

      System.out.println("\nThe volume and surface area of a cylinder with radius of 2 feet and height of 5 feet.");

      System.out.println(volume);

      System.out.println(surfaceArea);

   }

   

}

I hope this helps!

In Python
Assign number_segments with phone_number split by the hyphens.

Sample output with input: '977-555-3221'
Area code: 977

Answers

The required code written in python 3 which displays the Area code number is :

user_input = str(input('Enter your number :'))

#accepts input from the user

split_on_hypen = user_input.split('-')

#split the values using the hyphens which seperates each set of digits

area_code = split_on_hypen[0]

#first index digits in the splitted values is the area code, this corresponds to the 0th index

print('Area code: %s' %area_code)

#display the Area code value assigned to the string, Area code using string formatting

Learn more :https://brainly.com/question/14786286

Answer:

phone_number = input()

number_segments = phone_number.split('-')

area_code = number_segments[0]

print('Area code:', area_code)

Explanation: The answer above was correct but had incorrect naming for the Zybooks version

The first step in any project is (blank) . A graphic designer needs to organize and (blank) tasks to get efficient results.

Answers

Answer:

The correct answer is planning

Explanation:

I got it correct and I know my stuff :)

import re
def compare_strings (string1, string2):
#Convert both strings to lowercase
#and remove leading and trailing blanks
string1 = string1.lower().strip()
string2 = string2.lower().strip()
#Ignore punctuation
punctuation = r"[.?!,;:-'"
string1 = re.sub (punctuation, r"", string1)
string2 = re.sub(punctuation, r"", string2)
#DEBUG CODE GOES HERE
print(_)
return string1 == string2
print(compare_strings ("Have a Great Day!", "Have a great day?")) # True
print(compare_strings ("It's raining again.", "its raining, again")) # True
Run
print(compare_strings ("Learn to count: 1, 2, 3.", "Learn to count: one, two, three."); # Fa
Reset
print(compare_strings ("They found some body.", "They found somebody.")) # False

can someone please help. don't answer, just help me please, someone tell me where I can start and how without letting me know the answer. I know its probably cheating, but a girl just needs some help. my first computer classes are I've done good so far, but this is just too hard​

Answers

I would recommend using for loops, isalpha() and isspace() to create two strings and compare those strings to each other.

which part of the image window is surrounded by a yellow dotted line

the menu bar
the toolbox
the ruler
the canvas​

Answers

Answer:

the canvas

Explanation:

Answer:

D: Canvas

Explanation:

what is wrong with my code?

using System;

namespace FavoriteNumber
{
class Program
{
static void Main(string[] args)
{

Console.Write("Enter your favorite number!: ");
int faveNumber = Console.ReadLine()
int number = Convert.ToInt32("string value")
will give 30 points to who ever is right

Answers

Answer:

namespace FavoriteNumber

{

   class Program

   {

       static void Main(string[] args)

       {

           Console.Write("Enter your favorite number!: ");

           string faveNumber = Console.ReadLine();

           int number = Convert.ToInt32(faveNumber);

           Console.Write($"Your favorite number seems to be {number}");

       }

   }

}

Explanation:

You were close. Spot the differences. A statement should end with a semicolon. Console.ReadLine() returns a string. That string is the input of what you want to convert to an int.

And of course you need to match each opening brace { with a closing brace }.

Discuss how people navigated and communicated before the evolution of digital communication systems. What are the advantages of digital communication systems?

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

Before the digital communication system, early human makes communication through signs and gestures and send messages to others by a number of different methods. They could send their messages through signals with fire and smoke, drums, or whistles. The early method of communication had two limitations: first, they were restricted by the time in which communication took place. Second, they were restricted by a place that could be used only between people more or less close to each other.

They navigate through signals and signs, for navigation they search for footprint, smoke, etc to search the populated area.  The compass is the old measure they used for navigation. They travel through horses and other means of traveling they mostly use animals in their traveling for convenience. As people get advances, they used other means of sending messages to each other through letters, then the telegraph took place and telephone.

Beginning with digital communication, such as sending emails, letters, video, and audio chat make the world shrink in the global village.

People now communicate with each other in half of second with each other using new means of communication such as "s k y p e", "what s app", etc.

Now with the use of digital communication, the distance gets shrink among people. One can talk while one setting at a different corner of the world to another corner of the world in seconds. Digital communication made life simple and easy.

People can navigate through new means easily such as using "goo gl e map" etc.

We are developing a simulator for print queues in a network, where multiple printers can receive requests from several sources. A printer is limited in the amount of data (measured in blocks) it can print in a given time period (call the time period a "step" in the simulation). The print() method is called once for each printer in each step of the simulation. If multiple requests are sent to a printer while it is in the process of printing a document, it must store those requests in a queue, and then process them in a first-in first-out order. A printer can start printing a document at the beginning of a time step.

Required:
Complete the simulation (Doc, Printer, and PrintQueueTester). You will need to complete the Printer and Doc classes (do not add any fields to the Doc class, and do not change the API), and use the PrintQueueTester class to test your solution.

Answers

Answer:

True

Explanation:

The IT infrastructure comprises of seven major categories or domains. They are user, workstation, LAN, LAN/WAN, remote access, system /application storage, and WAN.

The user domain is the various accounts in the networked office within a workstation and other workstations in the network. The user domain provides a platform or medium to interact with the other six domains, making it possible for forensic investigation to be carried out, retrieving logs for easy account management.

What level do you get Super Saiyan God in Dragon ball final stand

Answers

Answer:

God Forms (SSJG - SSB KKx10) Unlocked at level 270, for 50,000 Zeni.

Explanation:

Answer:

Unlocked at level 270, for 50,000 Zeni.

Explanation:

Why might a variable used for output have to be of a different type then a variable used for input?​

Answers

Answer:

You may use a different variable type for input in order to process the data appropriately and may use a different variable type to accommodate your program.

Explanation:

Your input may have to be different then output varying on what data you are processing.

For example, just like the last question you asked about calculating the area of the rectangle, your input MUST be converted to a different a numerical data type (i.e int or float) in order to do the math.

Based on your last question, if we didn't convert your input into a string your results wouldn't add the numbers together but only concatenate them. If I typed 3 & 5 as length & width, I would get 35 instead of 15.

Now another example is using functions (or methods whatever you want to call them), your input can be one thing and outputs another.

Let's say I want a function to tell me if I am smart. The way I want it to determine if its smart is by inputting my GPA into it, which is a numerical value. So the function would look something like this:

Code (Python)

def IsSmart(gpa):

  if (gpa >= 4):

       return True

  else

       return False

As you can see I am inputting a numerical value and it is outputting a boolean value. I can use this in a if else chain to spit out an output to the user.

Narrow margins are helpful for which task?
fitting the most content on a page
spreading out content onto more pages
aligning content in the center of a page
placing the content on the left side of a page​

Answers

Answer: A: fitting the most content on a page

Explanation:

Trust me my guy

Select the correct navigational path to mark all teachers who have achieved “excellent” on their evaluations a red background. Select the rows or columns you wish to format. Click the (Home, Page layout, data, view) tab on the ribbon and look in the (Clipboard, alignment, number, conditional formatting) gallery. Select (New rule, manage rule, clear rule) . Select ( format only top or bottom, format all cells, use a formula) and fill in the formula for the IF statement and formatting. Click OK.

Answers

Answer:

View, Cond. Form., New rule, Format

Explanation:

:p Don't ask.

Answer:

Click the home tab

conditional formatting

select new rule

select "use a formula"

Explanation:

correct on edge 2020

Under the Home tab, where can a user find options to change the bullet style of an outline?
in the Slides group
in the Font group
in the Paragraph group
in the Drawing group

Answers

Answer:

Its C, Paragraph group

Explanation:

The smallest unit of storage is​

Answers

Answer:

Hey mate......

Explanation:

The smallest unit of storage is Bytes......

hope it helps you,

mark me as the brainliest,

follow me..........

Other Questions
5. What was Snowball's part in this battleof the Cowshed? 3.2. Calculation Question. Finally, let's get a sense of scale as to how much rock actually changes between reservoirs every year. Alaska includes the Aleutian Islands, which is a long volcanic arc that is forming due to the subduction of the Pacific Plate under the North American Plate. The two plates are moving towards each other at 5.4 cm per year. Through subduction, a certain volume of rock from the Pacific Plate is simply lost to the mantle in the Aleutian Trench every year. The length of the Aleutian Trench is 3,900 km. Calculate the volume of rock that gets transferred from the Pacific Plate to the mantle every year. Remember that in lab 1 you were given the average thickness of oceanic crust. Give your answer in cubic kilometers. [2pts] 3.3. Sense of Scale Question. The Gillette Stadium (the one where the Patriots play) is 0.27 km long by 0.23 wide by 0.05 km tall. How many Gillette Stadiums worth of rocks gets destroyed by subduction in the Aleutian Trench every year? [2 pts] BONUS 3.4. Sense of Scale Question. Approximately how much mass is lost in the Aleutian Trench each year? Show your assumption(s) and give your answer in kg. [2pts] Find the future value if $4500 was invested for 3 years at 8%compounded monthly? Now imagine that the inverse demand function changes from the demand function used above in (1). The inverse demand function is now expressed in dollars for organic, fair-trade coffee as P = 24 0.05Q, where Q is again expressed in pounds of coffee. The inverse supply function expressed in dollars of producing organic, fair-trade coffee is still given as P = 6 + 0.10Q. This market works efficiently and there are no market failures.Give two examples of an event that would cause the inverse demand curve to change from (1) to (2).Draw a graph to show supply and demand in this market. Be sure to include the values of the equilibrium price and quantity of organic, fair-trade coffee that clears this market.How much consumer surplus is generated in this market? How much producer surplus is generated in this market?Imagine Congress is considering legislation that forces the price of organic, fair-trade coffee to be exactly $15.00 per pound. How much consumer surplus is generated if this legislation is passed? How much producer surplus is generated if this legislation is passed? Explain any differences in consumer and producer surplus from question (1d) above.Imagine a hurricane hits Central America and severely impacts the organic, fair-trade coffee crop so that the new inverse supply curve is given as P = 9 + 0.10Q. Assuming the inverse demand function in (2) has not changed, determine the new values of the equilibrium price and quantity of organic, fair-trade coffee that clears this market. Show your answer graphically. 0/1 point Question 6 Suppose the velocity of money is 10 transactions per year, the price level for 2015 is $5, and real GDP in 2015 is $8,000,000. If output grows by 10%, what will money supply shoul Canadian dollar (CAD) : US dollar (USD) 1.25 CAD : 1 USDMexican peso (MXN) : US dollar (USD) 25 MXN : 1 USDAssume you start with $1,000 CAD. Using the above exchange rates, how many MXN could you own.A. 37,500B. 10,000C. 20,000D. 25,000 PLEASE ANSWER SOON what event happened after fannin surrendered to urrea please helppppppppppppppppppppppppppppppppp Why leaves float on water Countries that have achieved Zero Population Growth have an age structure that (i) shows little variation in the female population by age. (ii) indicates a 1:1 sex ratio in the population across all age groups. (iii) shows little variation in population by age. (iv) forms an inverted pyramid. I have trouble solving questions like " find the area of a circle using terms of pie" i dont understand the formula or how to solve the question. please help Assume that you are a marketing consultant. Providedetailed advice to the marketing department on how to buildaneffective direct marketing campaign. Larry purchased an annuity from an insurance company that promises to pay him $8,000 per month for the rest of his life. Larry paid $1,051,200 for the annuity. Larry is in good health and is 72 years old. Larry received the first annuity payment of $8,000 this month. Use the expected number of payments in Exhibit 51 for this problem. Required: a. How much of the first payment should Larry include in gross income? b. If Larry lives more than 15 years after starting the annuity, how much of each additional payment should he include in gross income? c. What are the tax consequences if Larry dies just after he receives the 100th payment? Find the value of x so that the function has the given value. 2(x) = 2x + 7; n(x) = 17 Which of the following statements about civil law legal systems is NOT true?Judges play a more important role in determining law and its meaning in common law countries than in civil law countries.The United States is a civil law nation.In civil law nations, judges are not obligated to follow judicial precedents while making court decisions.In order to determine what the law is, the civil law system relies on legislation itself. "please answer asap ill give u a big likeexpand and Simplify (-52 +33) (-62-23) What is the main idea in growing up Asian in America ? Who counts the Electoral College vote? Which statement about tobacco use is true? 2. You are considering buying an old house that you will convert into an office building for rental. Assuming that you will own the property for 10 years, how much would you be willing to pay for the old house now given the following financial data? (4pts) - Remodeling cost at period 0=$20,000 - Annual rental income =$25,000 - Annual upkeep costs(including taxes) =$5,000 - Estimated net property value (after tax) at the end of 10 years =$225,000 - The time value of money (interest rate) =10% per year (a) $209,638 (b) $165,450 (c) $189,630 (d) $185,450