Area of a circle
Given the radius x, y would be the area of a circle.
Pi = 3.1416
5年以上 前
解決済み
BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum.
Examp...
5年以上 前
解決済み
metre to feet converter
The idea is to make a converter, which exchange meters to feets.
We use a factor of 1m = 3.281*1f.
so 3m are equals to 9.843 m...
5年以上 前
解決済み
CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A)
For example tan(A)=3/4 then sin(A)=3/5
Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody.
Given an input matrix, generate an output matrix that consists o...
5年以上 前
解決済み
only input
Return the output without writing any code into the function.
5年以上 前
解決済み
Replace May with April
For instance, if the input is
input_str = 'The flowers may bloom in April';
then the output is
output_str = 'The flo...