Fuad Hasan
自 2021 起处于活动状态
Followers: 0 Following: 0
Feeds
已解决
Generate N equally spaced intervals between -L and L
Given N and L, return a list of numbers (in ascending order) that divides the interval [-L L] into N equal-length segments. For...
27 days 前
已解决
Sunday bonus
Submit a solution on any Sunday and you will get 10 points. Only for MATLAB fans!
27 days 前
已解决
Find The area of the square
Given that the length of the side of a square is x, find the area.
29 days 前
已解决
Generate vector according to sign of vector
Generate vector according to sign of vector Example: If A=[-2 0 5] then output must be[-1 0 1] meaning that for negative n...
29 days 前
已解决
Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'
29 days 前
已解决
Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239
29 days 前
已解决
Crate a vector of logarithmically spaced
Create a vector of logarithmically spaced from 10^0 to 10^x with n sample Example: if x=4 and n=3 Answer must be=[1 100 10...
29 days 前
已解决
Find 10's complement
Find 10's complement of a given number. An example is <http://electrical4u.com/9s-complement-and-10s-complement/ shown here>.
29 days 前
已解决
Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]
29 days 前
已解决
R2012b atan in Degrees
Return in degrees the atan result of inputs for all four quadrants. *Examples:* [x, y] Degrees 1 0 0 1 1 ...
29 days 前
已解决
Simple polynomial evaluation
Compute the value of a polynomial of degree n with all coefficients '1', at value x. n is always n>=0. p(x)=1+x+x^2+...+x^n...
29 days 前
已解决
Ordinary Annuity : Future Value
Theorem : Future Value of an Ordinary Annuity where; F : Future value A : Periodic payment r : Rate per period n : Numbe...
29 days 前
已解决
Ordinary Annuity : Periodic Payments (Future Value)
Theorem : Future Value of an Ordinary Annuity where; F : Future value A : Periodic payment r : Rate per period n : Numbe...
29 days 前
已解决
Compound Interest : Compounding Periods
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...
29 days 前
已解决
Compound Interest: Interest Rate
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...
29 days 前
已解决
Compound Interest: Present Value
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...
29 days 前
已解决
Compound Interest : Future Value
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...
29 days 前
已解决
Simple Interest : Calculate time in years
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...
29 days 前
已解决
Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...
29 days 前
已解决
Volume of Equilateral Triangle Prism
Find volume of equilateral triangle prism x = side of triangle l = length of prism
29 days 前
已解决
Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...
29 days 前
已解决
Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.
29 days 前