A résolu


Draw 'H'
Draw a x-by-x matrix 'H' using 1 and 0. (x is odd and bigger than 2) Example: x=5 ans= [1 0 0 0 1 1 0 0 0 1 ...

5 mois il y a

A résolu


Find Logic 14
Guess the Logic! logic(1) = 100 logic(2) = 96 logic(3) = 105 logic(4) = 89 logic(5) = 114 Make a function logic(x) which w...

6 mois il y a

A résolu


Find Logic 15

6 mois il y a

A résolu


Find Logic 13

plus d'un an il y a

A résolu


Find Logic 12

plus d'un an il y a

A résolu


Find Logic 11

plus d'un an il y a

A résolu


Find Logic 10

plus d'un an il y a

A résolu


STOP that car!!!
The maximum allowed speed for this road is 100. Find the cars that didn't observe the speed limit Arrest and fine them!!!

plus d'un an il y a

A résolu


Angular Velocity

plus d'un an il y a

A résolu


Simple Circuit of Resistors

plus d'un an il y a

A résolu


Period of a pendulum
Consider a small object hanging on a massless thread and pulled back from equilibrium at a small angle. Assuming that the pivot ...

plus d'un an il y a

A résolu


determine skid distance of car
Determine the distance a car skids to a stop given initial velocity (v) and time (t).

plus d'un an il y a

A résolu


Convert Angstrom to Meters
Write a code that converts the angstrom unit to meters.(A is angstrom and m is meters.)

plus d'un an il y a

A résolu


Distance Travelled by Vehicle

plus d'un an il y a

A résolu


Falling on the Moon.

plus d'un an il y a

A résolu


Ohmic Heating

plus d'un an il y a

A résolu


Determine if vector has any zeroes
Return 1 if vector has atleast 1 zero, else return 0

plus d'un an il y a

A résolu


Harmonic series counting
The function takes a positive limit as input, And counts how many terms must be summed in the harmonic series: 1/1, 1/2, 1/3, ...

plus d'un an il y a

A résolu


Intersection points of a polynomial
Find the intersection points of a polynomial, given by its vector of coefficients with the X-axis and the Y-axis. Input: a poly...

plus d'un an il y a

A résolu


Is the number of 1s in a binary integer odd or even?
Your function should turn the input integers into binary form and count the number of 1s in the binary. If the number is odd, re...

plus d'un an il y a

A résolu


Just square the input
Square the number

plus d'un an il y a

A résolu


Slope intercept application
Find y given slope (m), x, and y intercept (b).

plus d'un an il y a

A résolu


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...

plus d'un an il y a

A résolu


Box
Give the volume of a box, x is equal to the body diagonal.

plus d'un an il y a

A résolu


Stairs
Make an n by n matrix, where the elements are ones and zeros. In the main diagonal, and under that, there should be only ones (...

plus d'un an il y a

A résolu


Calories in a slice of pizza?
The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...

plus d'un an il y a

A résolu


Swap rows

plus d'un an il y a

A résolu


step function

plus d'un an il y a

A résolu


sign function

plus d'un an il y a

A résolu


Perimeter of a Triangle

plus d'un an il y a

Charger plus