A shooting competition
In a shooting competition, the target is a square of side L containing a circle of radius R<=L/2. A player scores one point if h...
Bag of apples
find probabilty of getting red apples from a bag of 'r' red and 'g' green apples.
4ヶ月 前
解決済み
Calculate solution of given polynomial
For example,
y=function([3 -2 -4])
In here, input vector indicate 3*x^2-2*x-4, y is solution of former equation.
y=[1.5...
Total resistance of resistors in parallel
What is the total resistance of a number of resistors in parallel?
A vector R contains the resistances (in Ohm) of n resistors,...
4ヶ月 前
解決済み
DC-DC boost converter
Find the output voltage of a DC-DC boost converter given input voltage and the duty cycle ratio