解決済み


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

27日 前

解決済み


Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

27日 前

解決済み


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

27日 前

解決済み


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

27日 前

解決済み


calculate the length of matrix
input 1 array, calculate the length

27日 前

解決済み


easy problem
Find the last element of the array

27日 前

解決済み


Find the max element of the array
Find the max element of the array

27日 前

解決済み


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

27日 前

解決済み


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

27日 前

解決済み


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

27日 前

解決済み


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

27日 前

解決済み


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

27日 前

解決済み


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

27日 前

解決済み


Convert radians to degrees
Given input in radians, output to degrees

27日 前

解決済み


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

27日 前

解決済み


Distance Travelled by Vehicle

27日 前

解決済み


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

27日 前

解決済み


Find The Area Of The Circle
Find the area of the Circle using PI.

27日 前

解決済み


Prime or No
If the number is prime, make theCase = "YES", else, make it "NO".

27日 前

解決済み


Find The Area Of Triangle Using Base & Height
You should find the area of the Triangle using base and height. Good Luck!

27日 前

解決済み


Trapezium
Calculate the area of the Trapezium using it's bases and height.

27日 前

解決済み


Circle Perimeter
Get the perimeter of the Circle by PI.

27日 前

解決済み


Basic Algebra II
You have the equation X^2 = n you should find the value of X. GOOD LUCK!

27日 前

解決済み


Plot
Make a plot of the vector x. NOTICE: YOU CAN NOT USE ans INSTEAD OF y!

27日 前

解決済み


Get The Opposite Of The Number Without Negative (-) On It
You must get the opposite of the number X without making -X. Hint: You can make it by Subtraction and Multiplication.

27日 前

解決済み


Draw '\'
Can you draw the sign '\' by zeros and ones? NOTICE: Be x-by-x matrix.

27日 前

解決済み


Get The Square Root Of Number Power (^) Three
Get the Square Root of number Power (^) Three.

27日 前

解決済み


Basic Physics X
Calculate the Kinetic Energy (KE) by Weight (w), Distanec (d), and Time (t) without Mass (m) or Speed (v).

27日 前

解決済み


Basic Physics IX
Calculate the Kinetic Energy (KE) by Weight (w) instead of Mass (m).

27日 前

解決済み


Basic Physics VIII
Calculate the Mechanical Energy (ME) when the point is B.

27日 前

さらに読み込む