Area of a circle
Given the radius x, y would be the area of a circle.
Pi = 3.1416
1 year ago
Solved
Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit.
Examples:
Input celsiusValue = 100
Output fahrValu...
1 year ago
Solved
Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.
1 year ago
Solved
Square the input
Given a scalar or vector x, return the square of each element.
Example
x = [7 2]
answer = [49 4]
Compound Interest : Compounding Periods
Theorem : Compound Interest
where,
F : Future value at the end of n periods
P : Present value
r : Annual nominal rate
n :...
1 year ago
Solved
Compound Interest: Interest Rate
Theorem : Compound Interest
where,
F : Future value at the end of n periods
P : Present value
r : Annual nominal rate
n :...