Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...
5年以上 前
解決済み
Weighted average
Given two lists of numbers, determine the weighted average.
Example
[1 2 3] and [10 15 20]
should result in
33.333...
5年以上 前
解決済み
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x.
For instance if x=2 then y must be 1+2+3+4=10.
Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...
Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y?
<<http://upload.wikimedia.org/wikipe...
5年以上 前
解決済み
Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x?
<<http://upload.wikimedia.org/wikipe...
5年以上 前
解決済み
Energy of a photon
*⚛ ☢ ⚛ ☢ ⚛ ☢ ⚛*
Given the frequency F of a photon in giga hertz.
Find energy E of this...
5年以上 前
解決済み
Energy of an object
Calculate the total mechanical energy of an object.
Total Energy= Potential energy + Kinetic energy
P.E.=m*g*h
K.E.=1/2...
5年以上 前
解決済み
Equilateral Triangle
The length of one side of the equilateral triangle is a. Calculate the area of the equilateral triangle.
Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle.
<<http://upload...
5年以上 前
解決済み
Area of square
Find the area of a square whose diagonal length is given as x.
5年以上 前
解決済み
Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.
Area of a circle
Find the value for area of the circle if diameter is given
5年以上 前
解決済み
Area of a Square
Inside a square is a circle with radius r.
What is the area of the square?
5年以上 前
解決済み
Calculate area of sector
A=function(r,seta)
r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...