解決済み


Basic Mathematics 6
A High School is trying to build their robot to be able to reach the hanging object which is H inches from the ground. Their ro...

約2年 前

解決済み


Basic Mathematics 4
Team #1 is in first place but only one point higher than Team #2. The sum of their two scores is N. What are each team’s scores...

約2年 前

解決済み


Resistance of a light bulb
The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....

約2年 前

解決済み


Basic Mathematics 7
Three generous robotics team mentors would jointly like to donate $N toward extra supplies. The second mentor is donating twice ...

約2年 前

解決済み


Voltage in a lamp
A lamp is measured to have a resistance of R ohms when it operates at a power of P Watts. What is the voltage (in volts) being a...

約2年 前

解決済み


Put Two 1D matrices into one 1D matrix
Example: If input a = [1 2 3 4 5]; input b = [10 9 8 7 6]; then output will be, y_correct = [1 10 2 9 3 8 4 7 5...

約2年 前

解決済み


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

約2年 前

解決済み


Number of vertices of a hypercube
Return the number of vertices of a n-dimensional hypercube.

約2年 前

解決済み


Special Relativity 101.
Special relativity states that the effective mass of an object varies as a function of its velocity. If *c* is the speed of ligh...

約2年 前

解決済み


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

約2年 前

解決済み


Cos Function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

約2年 前

解決済み


only input
Return the output without writing any code into the function.

約2年 前

解決済み


Find Logic 4

約2年 前

解決済み


Find Logic 2

約2年 前

解決済み


Calculate Resistance
Calculate Resistance R of a linear conductor having resistivity p, length l and area A

約2年 前

解決済み


raise 1/3
Raise a number to 1/3 power.

約2年 前

解決済み


square root
Find square root of given number

約2年 前

解決済み


Sum of Squares
Given a vector v of length n, write a MATLAB function to calculate the sum of the squares of its elements.

約2年 前

解決済み


findPositiveEvenNumbers
Write a MATLAB function findPositiveEvenNumbers that takes an array of integers as input and returns a new array containing only...

約2年 前

解決済み


Spherical Volume
Calculate the volume of a sphere.

約2年 前

解決済み


Sum the two halves of an array with an even number of elements
given an array of an even number of elements, sum the front and back half of the array and return the sums as an array For exam...

約2年 前

解決済み


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

4年弱 前

解決済み


No Twins?
Write a function that accepts as input a vector and returns the same vector, but retaining only the first occurrence of an eleme...

4年弱 前

解決済み


Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

4年弱 前

解決済み


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...

4年弱 前

解決済み


Test if two numbers have the same digits
Given two integers _x1_ and _x2_, return |true| if the numbers written with no leading zeros contain the same digits. That is, t...

4年弱 前

解決済み


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

4年弱 前

解決済み


delta x

4年弱 前

解決済み


All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...

4年弱 前

解決済み


Convert from Base 10 to base 5
Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10

4年弱 前

さらに読み込む