photo

AYUSH MISHRA


Last seen: 4年以上 前 2020 年からアクティブ

Followers: 0   Following: 0

統計

  • First Answer

バッジを表示

Feeds

表示方法

回答済み
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(A) [m,n]=size(A); summa=0; for i =1:m fprintf('active row :%d \n',i); fo...

4年以上 前 | 0

回答済み
Area of a triangle
function area=tri_area(b,h,n) area=0.5*b*h*n; end %Here b=base of triangle , h=height of triangle , n=number of triangl...

4年以上 前 | 0

回答済み
Calculate taxi fare by giving multiple inputs and single output
function fare= taxi_fare(d,t) d=ceil(d); %d=total distance cover by taxi t=ceil(t); %t=total time taken to complete...

4年以上 前 | 1