Questions
Write a C Program to finish the following requirements: Convert a double number to its hexadecimal...

Write a C Program to finish the following requirements: Convert a double number to its hexadecimal form

1. The double number x is located between 0 and 1000(0<=x<=1000),e.g.678.345

2.The double number with the hexadecimal form contains 6 significant digits. e.g." 5D.32FA45".

3.The double number with the hexadecimal form is represented by a string(or a character array), e.g."5D.32FA45".

Please write as simple as possible because I am a freshman in C!

Thanks!

In: Computer Science

1.Define entrepreneurship and entrepreneurial opportunities and explain their importance.

1.Define entrepreneurship and entrepreneurial opportunities and explain their importance.

In: Operations Management

8. Suppose you saw a ciphertext stream that you know was encrypted with DES-CBC, and you...

8. Suppose you saw a ciphertext stream that you know was encrypted with DES-CBC, and you observed that C3 = C6 (i.e., the third and sixth output ciphertext blocks were the same). What information does this tell you about the plaintext input?

In: Computer Science

Thank you for taking the time to do this! Why do we say that materials in...

Thank you for taking the time to do this!

Why do we say that materials in our world are mostly “empty space"?

Why will a block of iron float in mercury but sink in water?

A ship sailing from the ocean into a freshwater harbor sinks slightly deeper into the water. Does the buoyant force on the ship change? If so, does it increase or decrease?

An old man sells you a solid gold 1-kg statue for a very reasonable price. When you get home, you wonder whether or not you got a bargain, so you lower the statue into a container of water and measure the volume of displaced water. Show that, for pure gold, the volume of water displaced will be 51.8 cm3.


In: Physics

Write a java program to convert a positive integer value to a roman number. Your program...

Write a java program to convert a positive integer value to a roman number. Your program should print a description, prompt them for how many numbers they need to convert and then loop that many times. Each time the program needs to prompt for a number and output the equivalent roman numeral. If the user enters a number less than 1 then output an error message. See sample output below:

****************************************************

* Welcome to the Roman Numeral Converter!          *

* You can use this tool to convert any decimal     *

* value into a Roman Numeral. To get started       *

* please enter the how many decimal numbers you    *

* need to convert.                                 *

****************************************************

How many numbers do you have to convert? 5

Please enter the number that you would like to convert: 58

58 as a Roman Numeral is LVIII

Please enter the number that you would like to convert: 2019

2019 as a Roman Numeral is MMXIX

Please enter the number that you would like to convert: -85

Sorry, but -85 is not a positive number and cannot be converted

Please enter the number that you would like to convert: 7

7 as a Roman Numeral is VII

Please enter the number that you would like to convert: 23

23 as a Roman Numeral is XXIII

Requirements

You must have a helper class RomanHelper with the following methods. It will be up to you to determine the return type and parameters required for each:

  • description: Print the program description to the screen
  • getRoman: Converts an integer to a Roman Numeral. No output to the screen should happen here.

Also, you will need to have a driver class RomanDriver with the following methods:

  • main: Construct a Scanner object and call the runProgram method.
  • runProgram: Prompt the user how many times they would like to run the program and loop that many times calling the getNextNumber method.
  • getNextNumber: Prompt for a number to convert and output the result or an error message if the number isn’t positive.

You may add however many additional methods that you would like.

In: Computer Science

The base station height is 40 m, the carrier wave frequency is 900 MHz, the mobile...

The base station height is 40 m, the carrier wave frequency is 900 MHz, the mobile station height is 2 m, and the communication distance is 15 km.
1.Calculate the path loss in a big city by the Hata model.
2.If the frequency become 1800 MHz, calculate the path loss in the downtown of a big city by the Hata extension model.

In: Computer Science

1.Define strategic entrepreneurship and corporate entrepreneurship.

1.Define strategic entrepreneurship and corporate entrepreneurship.

In: Operations Management

Your organization’s app has been found to have stack overflow vulnerability. Search in NVD to make...

Your organization’s app has been found to have stack overflow vulnerability. Search in NVD to make a list of actions you will take immediately and overtime to mitigate and prevent such occurrences in future? Describe at least three design and project management measures.

In: Operations Management

*Ministry of Transport in Oman: 1-What are the most important data Statistics related to the growth...

*Ministry of Transport in Oman:
1-What are the most important data Statistics related to the growth of that sector?

*PACA:
1-How does PACA relate to the aviation industry in Oman?

*Oman Air:
1-challenges facing Oman Air now ?

*Oman Airport Management Company:
1-What are the indicators used to decide on the size of the airport?
2-What international rank does some of Oman airports enjoy?

its about Airport and aviation industry in Oman

In: Operations Management

1. In an alternate universe, Warren Buffet decides to revive Circuit City, which produces product A...

1.

In an alternate universe, Warren Buffet decides to revive Circuit City, which produces product A and product B. Each product needs to go through two processes. Each instance of product A produced requires 4 hours in the first process and 2 hours in the second process. Each instance of product B produced requires 3 hours in the first process and 4 hours in the second process. There are 150 hours of capacity available each week in each process. Each unit of product A yields $9.00 in profit for Circuit City, and each unit of product B yields $6.00 in profit. If Circuit City produces 30 units of A and 10 units of B, the amount of slack (in hours) for the second process is ________.

Group of answer choices

50 hours

30 hours

20 hours

40 hours

2.

The point ________ is feasible for the constraint 2x1 + 6x2 ≤ 25.

Group of answer choices

(x1 = 3, x2 = 4)

(x1 = 1, x2 = 4)

(x1 = 3, x2 = 3)

(x1 = 5, x2 = 3)

In: Operations Management

Transport plays an essential role in supply chain and when managed properly can allow supply chains...

Transport plays an essential role in supply chain and when managed properly can allow supply chains to work more efficiently and effectively. Dertemine the modal split for freight in South Africa. Provide reasons for your choice of the mode with the highest split.

In: Operations Management

In a language of your own choosing, write a computer program that implements the Restoring Twos...

In a language of your own choosing, write a computer program that implements the Restoring Twos Complement Division process. In addition to program source code, provide a screenshot showing the tasks below. Use 8 bits for all registers.

  1. Provide an output that shows your input decimal values.
  1. Provide an output that shows the initial values in registers A, Q, and M.
  1. Demonstrate that your program works in the following cases by showing the output in registers A and Q after the final cycle and the final value in 2s complement for negative numbers:
    1. divide two positive numbers with no remainder
    1. divide two positive numbers with a remainder
      1. divide two negative numbers with no remainder
      1. divide two negative numbers with a remainder
      1. divide a positive number by a negative number with a remainder
      1. divide a positive number by a negative number without a remainder
      1. divide a negative number by a positive number with a remainder
      1. divide a negative number by a positive number without a remainder
  1. Show the output of your result in decimal format yRx where y is the integer value and x is the remainder value. e.g. 4R0 would be 4 with a remainder of 0, -4R-2 would be -4 with a remainder of -2.

In: Computer Science

In a model AC generator, a 497 turn rectangular coil 14.0 cm by 23 cm rotates...

In a model AC generator, a 497 turn rectangular coil 14.0 cm by 23 cm rotates at 115 rev/min in a uniform magnetic field of 0.58 T.

(a) What is the maximum emf induced in the coil?
V

(b) What is the instantaneous value of the emf in the coil at t = (?/39) s? Assume that the emf is zero at t = 0.
V

(c) What is the smallest value of t for which the emf will have its maximum value?
s

In: Physics

15 .Virtual web hosting can be seen as an early form of the ________ approach to...

15 .Virtual web hosting can be seen as an early form of the ________ approach to cloud computing.

Storage as a Service

Software as a Service

Platform as a Service

Infrastructure as a Service

16. A system virtual machine supports the execution of ________. an

operating system

a single program

(a) Azure provides 6 types of cloud storage.Provide a list of 4 of these storage types?

(b) Briefly describe 2 types of Azure cloud storage?

In: Computer Science

Two steel factories are currently emitting 8,000 tons of pollution each (for a total of 16,000...

Two steel factories are currently emitting 8,000 tons of pollution each (for a total of 16,000 tons). Pollution reduction (abatement) costs for Plant 1 are given by MCR1= 0.02Q and for Plant 2 by MCR2 = 0.03Q, where Q represents tons of abatement, and MCR the marginal cost of pollution reduction.

  1. Suppose a regulation is implemented that requires each firm to reduce its pollution by 4,000 tons. What will be each firm’s pollution control costs? Draw two graphs on Excel(one for each firm) to support your answer.
  2. Suppose instead that a pollution tax of $240 per ton of pollution emitted is implemented. How much will each firm now pay in pollution reduction costs (not considering taxes)? How do total pollution reduction costs with the tax compare to the total costs from part (a)? Briefly explain why the costs differ. How much does each firm pay in taxes? Use two graphs on Excel (one for each firm) to support your answer.For Problem 2, please upload your completed MS Excel spreadsheet in HuskyCT to support your answers.

In: Economics