photo

Harshvardhan


Last seen: 7 mois il y a Actif depuis 2023

Followers: 0   Following: 0

Message

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

Statistiques

All
  • First Answer
  • Promoter
  • Solver

Afficher les badges

Feeds

Afficher par

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

Réponse apportée
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 =...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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 ...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a