photo

Harshvardhan


Last seen: 7 Monate vor Aktiv seit 2023

Followers: 0   Following: 0

Nachricht

Programming Languages:
Python
Spoken Languages:
Hindi
Pronouns:
He/him

Statistik

All
  • First Answer
  • Promoter
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Input...

mehr als ein Jahr vor

Gelöst


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

mehr als ein Jahr vor

Gelöst


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Beantwortet
taking the inverse of multiple matrix's
% Define the matrices A = [1 2; 3 4]; B = [5 6; 7 8]; C = [9 10; 11 12]; % Create a cell array of the matrices matrices =...

mehr als ein Jahr vor | 0

Beantwortet
create a Moving Box Simulation in 1D
% Set up initial conditions x = [0 10]; % Box starts at position 0, ends at position 10 v = 1; % Box moves at a con...

mehr als ein Jahr vor | 0

Beantwortet
Cos^2(2theta) 3d polar graph in MATLAB
% Define theta and r vectors theta = linspace(0, 2*pi, 360); r = cos(2*theta).^2; % Convert polar coordinates to Cartesian ...

mehr als ein Jahr vor | 0

Beantwortet
How do you draw a plane on Matlab?
% Define the x-y-z coordinates for the airplane x = [0 1 2 2 0 -2 -2 -1 0 0 0 0]; y = [0 0 0 1 1 1 1 1 2 2 3 3]; z = [0 0 0 0...

mehr als ein Jahr vor | 0

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor