Cos Function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.
5ヶ月 前
解決済み
Array Concatenation (1)
Given two matrices, a and b, concatenate the two matrices horizontally, i.e., the number of columns of the result should be equa...
5ヶ月 前
解決済み
Calculate the values of a polynomial.
Calculate the values of a polynomial.Input parameter p - vector of polynomial coefficients, x - matrix of the argument values.
...
5ヶ月 前
解決済み
Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n:
n = 10;
x = [ 1 2 3 4 5 6 7 8 9 10];
...
Solve expression II
Solve given expression.
alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1)
beta=5exp((-x+y-60)/20)
result=alpha+beta;
5ヶ月 前
解決済み
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...
Test
Answer the question and the correct answer write in vector. Only one answer is correct.
1a Yes
1b No
1c No
1d No
...
5ヶ月 前
解決済み
Return the Square of a Number
Write a function that takes a single numeric input x and returns its square.
That is, given x, your function should output x^2....
5ヶ月 前
解決済み
Compute Airspeed from Mach Number
Write a MATLAB function that converts a Mach number to airspeed given the speed of sound aa in m/s: V=M⋅a
V = airspeed (m/s)
M...
5ヶ月 前
解決済み
GJam 2017 Kickstart: Parentheses (Large)
This Challenge is derived from <http://code.google.com/codejam/contest/6304486/dashboard#s=p2 GJam 2017 Kickstart Parentheses>. ...
5ヶ月 前
解決済み
GJam 2017 Kickstart: Parentheses (Small)
This Challenge is derived from <http://code.google.com/codejam/contest/6304486/dashboard#s=p2 GJam 2017 Kickstart Parentheses>. ...
5ヶ月 前
解決済み
MATLAB Counter
Write a function f = counter(x0,b) to construct a counter handle f that counts with an initial value x0 and a step size b.
E...
5ヶ月 前
解決済み
Is it really a 5?
A number containing at least one five will be passed to your function, which must return true or false depending upon whether th...