Implement the following functions. The functions return a real number:
(a) Function Celsius returns the Celsius equivalent of a Fahrenheit temperature ((32°F − 32) ×
5/9 = 0°C).
(b) Function Fahrenheit returns the Fahrenheit equivalent of a Celsius temperature.
((0°C × 9/5) + 32 = 32°F)
In main call both functions and ask user to input value of temperature and print its equivalent.
1- Write a program to demonstrate static variables, methods, and blocks.
2- Write a program in C# Sharp to create a user define function.
3- Write a program in C# Sharp to create a user define function with parameters.
4- Write a program in C# Sharp to create a function to display the n number Fibonacci sequence.
5- Write a program in C# Sharp to create a function to calculate the sum of the individual digits of a given number. Enter a number: 1234 Expected Output: The sum of the digits of the number 1234 is: 10.
6- Write a program to calculate the roots of Quadratic equations using encapsulation.
7- Write a program for calculating Matrix Operations. 1. Addition. 2. Multiplication
FIGURE 6 shows a 3.0 kg box sliding down with constant speed u = 1.2 ms-1 along a rough plank inclined at an angle 25o with the horizontal. Calculate the rate of work done by the frictional force on the block. (Given g = 9.81 ms-2)
Why do some firms use lots of capital and not much labour, while others use not much capital and lots of labour?
A 10kg projectile is fired vertically upward from the ground. with an initial velocity of 50m/s. Determine the maximum height to which it will travel if atmospheric resistance is neglected.
1 Write a program to demonstrate static variables, methods, and blocks.
2 Write a program in C# Sharp to create a user define function.
3 Write a program in C# Sharp to create a user define function with parameters.
4 Write a program in C# Sharp to create a function to display the n number Fibonacci
sequence.
5 Write a program in C# Sharp to create a function to calculate the sum of the
individual digits of a given number.
Enter a number: 1234
Expected Output:
The sum of the digits of the number 1234 is: 10
6 Write a program to calculate the roots of Quadratic equations using encapsulation.
7 Write a program for calculating Matrix Operations.
1. Addition.
2. Multiplication.
The maize grown in Mphumalanga is used primarily to feed livestock. Suppose that the current "foot and mouth disease" scare were to lead to a significant drop in the size of cattle herds nationwide. What impact would you expect in the market for maize?
How many grams are in 0.2 moles of beryllium iodide, BeI2?
2C2H6 + 7O2 = 4CO2 + 6H2O
1. How many moles of CO2 will be produced with 2 moles of C2H6?
2. How many moles of H2O will be produced with 14 moles of O2?
3. How many grams of H2O will be produced with 2 moles of C2H6?
4. How many grams of CO2 will be produced with 7 moles of O2?
5. If 105.68 grams of C2H6 reacts 89.35 grams O2
A. What is the limiting reagent?
B. What is the excess reagent?
C. How many grams of CO2 will be produced?
D. How many grams of H2O will be produced?
E. How many grams will be left from our excess reagent?