Khom Raj Thapa Magar
Followers: 0 Following: 0
What I think weird in life is that Human makes their life even more difficult in search of ease and comfort.
Feeds
已解决
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 前
已解决
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 前
已解决
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 前
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
4 years 前
已回答
How to display two non-consecutive column vectors
Indices can be non-consecutive numbers. Try extracting the first, third, and sixth elements of density. Indices can be non-cons...
How to display two non-consecutive column vectors
Indices can be non-consecutive numbers. Try extracting the first, third, and sixth elements of density. Indices can be non-cons...
4 years 前 | 4
已回答
Write a function called under_age that takes two positive integer scalar arguments: age that represents someone's age, and limit that represents an age limit. The function returns true if the person is younger than the age limit. If the second arg
Make sure your indentation is correct while coding function too_young = under_age(age,limit) if nargin<2 limit = 21; ...
Write a function called under_age that takes two positive integer scalar arguments: age that represents someone's age, and limit that represents an age limit. The function returns true if the person is younger than the age limit. If the second arg
Make sure your indentation is correct while coding function too_young = under_age(age,limit) if nargin<2 limit = 21; ...
4 years 前 | 0
已回答
Given a matrix "A", how to create a row vector of 1s that has the same number of elements as "A" has rows?
% Given A = [1:5; 6:10; 11:15; 16:20]; row_vec = ones(1,size(A,1)) column_vec = ones(length(A),1) result = row_vec * A * co...
Given a matrix "A", how to create a row vector of 1s that has the same number of elements as "A" has rows?
% Given A = [1:5; 6:10; 11:15; 16:20]; row_vec = ones(1,size(A,1)) column_vec = ones(length(A),1) result = row_vec * A * co...
4 years 前 | 7
已回答
Kenyan Eliud Kipchoge set a new world record for men of 2:01:39 on September 16, 2018. Assign his average speed in km/h to the variable marathon. The marathon distance is 42.195 kilometers? How to Calculate ?
distance_in_km = 100./1000; time_in_h = 9.58 / (60. * 60); hundred = distance_in_km / time_in_h; disp(hundred); Time_2nd_q...
Kenyan Eliud Kipchoge set a new world record for men of 2:01:39 on September 16, 2018. Assign his average speed in km/h to the variable marathon. The marathon distance is 42.195 kilometers? How to Calculate ?
distance_in_km = 100./1000; time_in_h = 9.58 / (60. * 60); hundred = distance_in_km / time_in_h; disp(hundred); Time_2nd_q...
4 years 前 | 0