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
lana [24]
2 years ago
13

A. Get a value for x from the user.

Computers and Technology
1 answer:
Gennadij [26K]2 years ago
7 0

Program (Python):-

\tt x=int(input("Enter\:your\:number:"))

\tt if \:x

\tt \qquad print("You\:have\:made\: mistake")

\tt else:

\qquad\tt print("Well\:done")

\tt cuberoot=x**1/3

\tt print("Cube\:root=",cuberoot)

\tt for\:i\:in\:range(x):

\qquad\tt print(x)

Sample output

Enter your number:-8

You have made mistake

Cuberoot=-2

-8

-8

-8

-8

-8

-8

-8

-8

You might be interested in
From a neural network with 11 input variables, one hidden layer with three hidden units, and one output variable, how many param
e-lub [12.9K]

Answer:

40

Explanation:

Given that:

A neural network with 11 input variables possess;

one hidden layer with three hidden units; &

one output variable

For every input, a variable must go to every node.

Thus, we can calculate the weights of weight with respect to connections to input and hidden layer by using the formula:

= ( inputs + bias) × numbers of nodes

= (11 + 1 ) × 3

= 12 × 3

= 36 weights

Also, For one hidden layer (with 3 nodes) and one output

The entry result for every hidden node will go directly to the output

These results will have weights associated with them before computed in the output node.

Thus; using the formula

= (numbers of nodes + bais) output, we get;

= ( 3+ 1 ) × 1

= 4 weights

weights with respect to input and hidden layer total = 36

weights with respect to hidden and output layer total = 4

Finally, the sum of both weights is = 36 + 4

= 40

6 0
2 years ago
Sites like Zillow get input about house prices from a database and provide nice summaries for readers. Write a program with two
Sonja [21]

Answer:

integer currentPrice

integer lastMonthPrice

integer changeLastMonth

float mortagage

//Reading input

currentPrice = Get next input

lastMonthPrice = Get next input

//Calculating price change

changeLastMonth = currentPrice - lastMonthPrice

//Calculating mortagage

mortagage = (currentPrice * 0.045) / 12

//Printing output

Put "This house is $" to output

Put currentPrice to output

Put "\nThe change is $" to output

Put changeLastMonth to output

Put " since last month." to output

Put "\nThe estimated monthly mortgage is $" to output

Put mortagage to output

7 0
3 years ago
Read 2 more answers
PLEASE ANSWER FAST!!!! look at the image below
Lubov Fominskaja [6]

Answer:

mbnlkgjhituyhklcjvjhklhur

Explanation:

hjiuyotgjfhkjmrti

7 0
2 years ago
Read 2 more answers
Type the correct answer in the box. Spell the word correctly.
padilas [110]

Answer:t internal firewall

Explanation:

Did this in class

4 0
3 years ago
For LG, on the app Messages, will the delete button on the upper right corner cancel a sending message?
OLga [1]

It deleted the conversation. Past messages and stuff like that. I don't think it will delete the contact, just the text messages.

6 0
3 years ago
Other questions:
  • What type of link is used to call this file
    11·1 answer
  • A user has a new web email account and asks a technician for help with setting up email on a tablet. The user would like for the
    11·1 answer
  • Are self driving cars essential for the future of transportation
    10·1 answer
  • Which piece of computer hardware was revised to run hypervisors natively?
    12·2 answers
  • Jackson has completed remediation of a virus-infected system. He eliminated all the startup program issues and uninstalled sever
    8·1 answer
  • Name three types of hard drives, along with its speed and size.
    8·1 answer
  • Community gardens are public gardens where local residents can grow plants in a plot. They are very popular, so there are often
    7·1 answer
  • Computer crimes are a big concern since the creation of innovative technological advances; which is/are examples of computer cri
    13·2 answers
  • 9. Which is an example of a function?<br>(1 Point)<br>=A1 +A2<br>=SUM(A1:A3)<br>=ADD(A1:A3)​
    14·2 answers
  • Write an expression that executes the loop while the user enters a number greater than or equal to 0.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!