Community Profile # Shivam Kumar Verma

Last seen: 18 dagar ago Active since 2021

#### Statistics

• • #### Content Feed

View by

Solved

Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

Solved

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

Solved

Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

Solved

Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

Solved

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

Solved

Spherical Volume
Calculate the volume of a sphere.

Solved

Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

Solved

Find max
Find the maximum value of a given vector or matrix.

Solved

length of a vector
Find twice the length of a given vector.

Solved

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

Solved

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

Solved

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

Solved

Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

Solved

Given a and b, return the sum a+b in c.

Solved

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

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

Solved

Locate a family on a long street