Community Profile

photo

Nitin Kumar soni


Last seen: 2 years ago Active since 2020

Statistics

All
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
Write a function called halfsum that takes as input an at most two-dimensional array A and computes the sum of the elements of A that are in the lower right triangular part of A
function summa=halfsum(n) [row,col]=size(n); summa=0; for i=1:row for j=1:col if i<=j summa=summa+...

4 years ago | 0

Solved


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

4 years ago

Solved


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

4 years ago

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

4 years ago