Volume of Spherical Shell
In three-dimensional space, a spherical shell can be constructed from two concentric spheres. Determine the volume of a spheric...
Say something funny
Say something funny, or not.
Your solution will be (fully automatically and objectively) scored based on how clever or funny ...
6年弱 前
解決済み
Calories in a slice of pizza?
The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...
6年弱 前
解決済み
Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...
6年弱 前
解決済み
Unit conversion
Convert x degree Celsius to y degree Fahrenheit.
The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
6年弱 前
解決済み
Area-02
Given the radius of the circle inscribed in a square, find the area of the square that can be fitted perfectly in the corner.
...
6年弱 前
解決済み
Area-01
Given the radius of the circle inscribed in a square, find the area that is not bounded by the circle but inside the square.
...
6年弱 前
解決済み
Calculate Resistance
Calculate Resistance R of a linear conductor having resistivity p, length l and area A
6年弱 前
解決済み
Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...
Duplicate a character
Duplicate a character 'n' times.
Example 1: str='a' n=5
output='aaaaa'
Example 2: str='*' n=3
output='***'
6年弱 前
解決済み
Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers.
Given a positive in...
MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string.
For example
A='harsa';
b='harish'; result '1'
...
6年弱 前
解決済み
Find max
Find the maximum value of a given vector or matrix.
6年弱 前
解決済み
MATLAB Basic: rounding II
Do rounding nearest integer.
Example: -8.8, answer -9
+8.1 answer 8
+8.50 answer 9