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

plus de 2 ans 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...

plus de 2 ans il y a

A résolu


Find Logic 15

plus de 2 ans il y a

A résolu


Find Logic 13

environ 3 ans il y a

A résolu


Find Logic 12

environ 3 ans il y a

A résolu


Find Logic 11

environ 3 ans il y a

A résolu


Find Logic 10

environ 3 ans 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 de 3 ans il y a

A résolu


Angular Velocity

plus de 3 ans il y a

A résolu


Simple Circuit of Resistors

plus de 3 ans 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 de 3 ans 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 de 3 ans 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 de 3 ans il y a

A résolu


Distance Travelled by Vehicle

plus de 3 ans il y a

A résolu


Falling on the Moon.

plus de 3 ans il y a

A résolu


Ohmic Heating

plus de 3 ans il y a

A résolu


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

plus de 3 ans 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 de 3 ans 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 de 3 ans 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 de 3 ans il y a

A résolu


Just square the input
Square the number

plus de 3 ans il y a

A résolu


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

plus de 3 ans 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 de 3 ans il y a

A résolu


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

plus de 3 ans 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 de 3 ans 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 de 3 ans il y a

A résolu


Swap rows

plus de 3 ans il y a

A résolu


step function

plus de 3 ans il y a

A résolu


sign function

plus de 3 ans il y a

A résolu


Perimeter of a Triangle

plus de 3 ans il y a

Charger plus