Community Profile

photo

Elizabeth


Last seen: 9日 前 2023 年からアクティブ

Followers: 0   Following: 0

統計

  • Introduction to MATLAB Master
  • CUP Challenge Master
  • Community Group Solver
  • Solver

バッジを表示

Feeds

表示方法

解決済み


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

約1年 前

解決済み


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

約1年 前

解決済み


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

約1年 前

解決済み


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

約1年 前

解決済み


Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

約1年 前

解決済み


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

約1年 前

解決済み


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

約1年 前

解決済み


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

約1年 前

解決済み


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

約1年 前

解決済み


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

約1年 前

解決済み


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

約1年 前

解決済み


Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

約1年 前

解決済み


Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

約1年 前

解決済み


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

約1年 前

解決済み


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

約1年 前

解決済み


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

約1年 前

解決済み


raise 1/3
Raise a number to 1/3 power.

約1年 前

解決済み


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

約1年 前

解決済み


multiply by 12
multiply x by 12

約1年 前

解決済み


multiply by 5
multiply x by 5

約1年 前

解決済み


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

約1年 前

解決済み


kmph to mph converter
Convert the speed in miles/hour to km/hour.

約1年 前

解決済み


Linear system of equations
Solve the system of equations in three variables.

約1年 前

解決済み


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

約1年 前

解決済み


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

約1年 前

解決済み


radius of a spherical planet
You just measured its surface area, that is the input.

約1年 前

解決済み


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

約1年 前

解決済み


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

約1年 前

解決済み


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

約1年 前

解決済み


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

約1年 前

さらに読み込む