short or buy ? take the opportunity
you had already calculated a theoretical stock value, now you checked in bloomberg the quoted price of that stock and you have t...
what's my tax amount this year ?
given an annual salary x and a tax rate i calculate the amount that you have to pay.Example
x = 70000;
i=.10
y_correc...
3年以上 前
解決済み
Area of a circle
Given the radius x, y would be the area of a circle.
Pi = 3.1416
Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...
Find out magnitude of vector
Find out magnitude of vector.
Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2)
Please don't use sum function.
If you l...
3年以上 前
解決済み
Energy-Mass Equivalence
Given input enegy of the object, E, and constant c = 300,000,000, find the mass of the object.
3年以上 前
解決済み
Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.
3年以上 前
解決済み
Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...
Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.
3年以上 前
解決済み
Get the area of the square.
Four circles are inscribed in the square ABCD. The perimeter of each circle is *aπ*.
<<http://imgfz.com/i/UzgCJut.png>>
Gi...
3年以上 前
解決済み
Squaring Matrix
Square the following matrix using matlab
%
A = 1 2 3 4
5 6 7 8
So new matrix should display...
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...