Reverse a matrix
Its simple. You have to reverse a given matrix.
8年以上 前
解決済み
Make a half wave rectifier
Produce a signal that outputs the given sine wave source when it is greater than zero and outputs zero when it is less than zero...
Power supply: 230V to 115V
The problem is simple: we have a wall outlet which supplies 230V and an apparatus that requires 115V.
Software is always chea...
8年以上 前
解決済み
Average speed for the entire trip
The input is two speeds (for the trip and return trip) and output is average speed. Assume units are consistent, say miles per h...
string comparision
compare two strings if both are same return 1 else return 0
8年以上 前
解決済み
Add 7
Given an input variable x, output a variable y that is 7 greater than x.
Example:
Input x = 1
Output y is 8
Input ...
8年以上 前
解決済み
Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0".
Exa...
8年以上 前
解決済み
Coordinate geometry
Assign pointsDistance with the distance between point (x1, y1) and point (x2, y2). The distance is calculated by:
Distance =...
8年以上 前
解決済み
Population growth
Assign finalPopulation with the population size given an initial population, population growth rate, and number of years. The fi...