In an attempt to reduce the extraordinarily long
travel times for voyaging to distant stars, some people have
suggested traveling at close to the speed of light. Suppose you
wish to visit the red giant star Betelgeuse, which is 430 ly l y
away, and that you want your 20,000 kg k g rocket to move so fast
that you age only 38 years during the round trip.
How fast must the rocket travel relative to
earth?
How much energy is needed to accelerate the rocket to
this speed?
How many times larger is this energy than the total
energy used by the United States in the year 2000, which was
roughly 1.0×1020J1.0×1020J?
In: Other
On January 2, 2013, Illinois Corporation issued 200,000 new shares of its $5 par value common stock valued at $19 a share for all of North Dakota Company's outstanding common shares. The fair value and book value of North Dakota's identifiable assets and liabilities were the same. Summarized balance sheet information for both companies just before the acquisition on January 2, 2013 is as follows: Illionois North Dakota
Cash $150,000 $240,000
Inventories 320,000 800,000
Other current assets 500,000 1,000,000
Land 350,000 500,000
Property, plant & equipment 4,000,000 3,000,000
Total Assets $5,320,000 $5,540,000
Accounts payable $1,000,000 $600,000
Notes payable 1,300,000 1,320,000
Common stock, $5 par 2,000,000 1,000,000
Additional paid-in capital 1,000,000 200,000
Retained earnings 20,000 2,420,000
Total Liabilities & Equities $5,320,000 $5,540,000
Prepare a consolidated balance sheet for Illinois Corporation immediately after the business combination.
In: Accounting
/*instructions: please do not change the general structure of the code that I already have
please write it in C programming
Define the interface for a queue ADT and implement it in two
ways: one with a dummy node (or nodes) and one without.
In addition to the two standard queue functions you’ll need a
function to create/initialize an empty queue,
a function to free an existing queue (which may not be
empty),
and a function to return the size (number of keys) in the
queue.
All functions should be as efficient as possible, e.g., the
complexity of enqueue and dequeue must be O(1).
An additional requirement is that the underlying data structure
should not be a doubly-linked list.*/
#include <stdio.h>
#include <stdlib.h>
typedef struct node{
int num;
struct node *next;
}Node;
typedef struct{
Node* front
Node* rear;
int size;
}Queue;
//Define the interface for a queue ADT
Queque* initializeQueque()
{
}
Queque* insert(int item)
{
}
Queque* delete()
{
}
void printList(Node* Q)
{
}
//get the size of the queque at postion [-1]
//return the size (number of keys) in the queue.
int getsize(Node* Q)
{
}
int main()
{
int option,item;
Node* Queque;
while(1){
printf("1.Insert number to queque\n2.Delete number from
queque\n3.Display numbers in queque\n4.Exit\nEnter a
option:");
scanf("%d",&option);
switch(option){
case 1:
printf("Enter the number:");
scanf("%d",&item);
Queque=insert(item);
break;
case 2:
Queque=delete();
break;
case 3:
printList(Queque);
break;
case 4:
return 1;
default:
printf("\nWrong input!\n");
break;
}
}
}
In: Computer Science
111 m3/min of hydrogen measured at normal conditions and nitrogen at a 300% excess enter an isobaric reactor. The inlet gases at 490°C are reacted in the presence of a catalyst to synthesize ammonia. The process has an efficiency of 33%. The exhaust gases are cooled to -40°C to condense the ammonia. Assume that the Cp of the gas phase species can be used in the temperature range, and that Cp NH3 (l) = 0.071938 kJ/mol K. Calculate the overall heat flow of the system in kW.
In: Other
Modify the program so that, rather than printing data directly to the screen, it will read the data into an array of car structs and then print out the contents of the array.
#include "car.h" #include <iostream> #include <iomanip> #include <fstream> #include <string>
Car GetCar(ifstream& dataIn);
// Pre: File dataIn has been opened.
// Post: The fields of car are read from file dataIn.
void WriteCar(ofstream& dataOut, Car car);
// Pre: File dataOut has been opened.
// Post: The fields of car are written on file dataOut,
// appropriately labeled.
int main ()
{
Car car;
ifstream dataIn;
ofstream dataOut;
dataIn.open("cars.dat");
dataOut.open("cars.out");
cout << fixed << showpoint;
car = GetCar(dataIn);
while (dataIn)
{
car.price = car.price * 1.10f;
WriteCar(dataOut, car);
car = GetCar(dataIn);
}
return 0;
}
//*****************************************************
Car GetCar(ifstream& dataIn)
{
Car car;
dataIn >> car.customer;
dataIn >> car.price >> car.purchased.day
>> car.purchased.month >> car.purchased.year;
dataIn.ignore(2, '\n');
return car;
}
//*****************************************************
void WriteCar(ofstream& dataOut, Car car)
{
dataOut << "Customer: " << car.customer << endl
<< "Price: " << car.price << endl
<< "Purchased:" << car.purchased.day << "/"
<< car.purchased.month << "/"
<< car.purchased.year << endl;
}
.h file
#include <string>
struct PersonType {
std::string firstname;
std::string lastname;
};
struct Date
{
int month;
int day;
int year;
};
struct Car
{
float price;
Date purchased;
PersonType customer;
};
In: Computer Science
Two stationary positive point charges, charge 1 of magnitude 4.00nC and charge 2 of magnitude 1.70nC , are separated by a distance of 39.0cm . An electron is released from rest at the point midway between the two charges, and it moves along the line connecting the two charges.
What is the speed vfinal of the electron when it is 10.0cm from charge 1?
In: Physics
At an output level of 18,500 units, you have calculated that the degree of operating leverage is 2.10. The operating cash flow is $44,000 in this case. Ignore the effect of taxes.
a. What are fixed costs? (Do not round intermediate calculations and round your answer to the nearest whole number, e.g., 32.)
b. What will the operating cash flow be if output rises to 19,500 units? (Do not round intermediate calculations and round your answer to 2 decimal places, e.g., 32.16.)
c. What will the operating cash flow be if output falls to 17,500 units? (Do not round intermediate calculations and round your answer to 2 decimal places, e.g., 32.16.)
In: Finance
I need to do a solvency ratio analysis. The company I have chosen for this is Lyft. Can someone help me with this? How do I upload the financial statement?
In: Accounting
A -11.0 nC point charge and a +22.0nC point charge are 18.0 cm apart on the x-axis.
A)What is the electric potential at the point on the x-axis where the electric field is zero?
B) What is the magnitude of the electric field at the point on the x-axis, between the charges, where the electric potential is zero?
In: Physics
In: Economics
How to educate a patient. on performing Kegel exercises
In: Nursing
The better-selling candies are often high in calories. Assume that the following data show the calorie content from samples of M&M's, Kit Kat, and Milky Way candies.
| M&M's | Kit Kat | Milky Way |
|---|---|---|
| 250 | 245 | 200 |
| 210 | 205 | 208 |
| 240 | 225 | 202 |
| 230 | 235 | 190 |
| 250 | 220 | 180 |
Test for significant differences among the calorie content of these three candies.
A) State the null and alternative hypotheses.
H0: MedianMM =
MedianKK = MedianMW
Ha: MedianMM ≠ MedianKK ≠
MedianMW
H0: All populations of calories are
identical.
Ha: Not all populations of calories are
identical.
H0: Not all populations of calories are
identical.
Ha: All populations of calories are
identical.
H0: MedianMM =
MedianKK = MedianMW
Ha: MedianMM >
MedianKK > MedianMW
H0: MedianMM ≠
MedianKK ≠ MedianMW
Ha: MedianMM = MedianKK =
MedianMW
B) Find the value of the test statistic. (Round your answer to two decimal places.)
C) Find the p-value. (Round your answer to three decimal places.)
D) At a 0.05 level of significance, what is your conclusion?
Reject H0. There is sufficient evidence to conclude that there is a significant difference among the calorie content of these three candies.
Do not reject H0. There is sufficient evidence to conclude that there is a significant difference among the calorie content of these three candies.
Reject H0. There is not sufficient evidence to conclude that there is a significant difference among the calorie content of these three candies.
Do not reject H0. There is not sufficient evidence to conclude that there is a significant difference among the calorie content of these three candies.
In: Math
Calculate the effective value of g, the acceleration of gravity, at 7400m above the Earth's surface.
Calculate the effective value of g, the acceleration of gravity, at 7400 km above the Earth's surface.
In: Physics
create a Java application program that will add up the cost of three items, then print the final total with sales tax.
You should begin by prompting the user to enter three separate prices for three items that are being purchased. For each item you should ask for (in this order) the quantity of the product and the price of the product.
The program should compute, and be able to print to the screen:
the subtotal (the total amount due before tax)
sales tax (the amount of sales tax that will be added, assume 7% tax rate)
total due (subtotal + sales tax)
The following is an example of what your MIGHT see on the screen when your program runs. The exact output depends on what values that the user types in while the program runs. The user's values are shown below in italics:
Enter the quantity of the first product: 3
Enter the price of the first product: $5.25
Enter the quantity of the second product: 2
Enter the price of the second product: $1.83
Enter the quantity of the third product: 7
Enter the price of the third product: $0.89
Subtotal: $25.64
Sales Tax: $1.79
Total Due: $27.43
can post a screen shot of your java program Would like to learn the steps, i am doing intro to Java programing
In: Computer Science
You have $5,995.14 in a brokerage account, and you plan to deposit an additional $6,000 at the end of every future year until your account totals $280,000. You expect to earn 13% annually on the account. How many years will it take to reach your goal? Round your answer to two decimal places at the end of the calculations.
___ years
In: Finance