# Dyuman Joshi

Last seen: 2 días hace Con actividad desde 2012

Followers: 4   Following: 4

Mechanical Engineer IITG-20 | Moderator - MATLAB Cody since Jan 2021 | Time zone - IST (GMT +5.30)

Programming Languages:
Python, MATLAB
Spoken Languages:
English, Hindi
Pronouns:
He/him
Professional Interests:
Fluid Dynamics, Aerospace Engineering, Computational Fluid Dynamics (CFD), Hydraulics and Pneumatics

All

Ver insignias

#### Feeds

Ver por

Resuelto

Perimeter of a Koch snowflake
A Koch snowflake is an iteratively generated (fractal) shape built out of successively smaller equilateral triangles by followin...

7 días hace

Resuelto

Integer Persistence, Product
Let's construct a sequence as follows: is a given natural number, and is the product of the digits of . The persistence of i...

9 días hace

Resuelto

Given a Polyshape_01 (ps) Return its Perimeter, Area, and Centroid.
Return the perimeter (P) of a polyshape object, which is the sum of the lengths of its boundaries. Return the total area (A) of...

11 días hace

Resuelto

Battery Charge Indicator
Write a function called battery_charge that visually represents the charge of a battery. The function takes an integer paramete...

17 días hace

Resuelto

Stern-Brocot Sequence
The Stern-Brocot diatomic sequence is defined as follows: The first elements of the sequence are 0, 1, 1, 2, 1, 3, 2, 3, 1, 4...

17 días hace

Resuelto

Available ingredients + recipe -> number of cakes
Write a function Egg_Milk_Sugar(L, recipe) to determine the maximum number of cakes that can be prepared given a list of availab...

19 días hace

Resuelto

Hofstadter Q sequence
The Hofstadter Q sequence is defined as follows: The first elements of the sequence are 1, 1, 2, 3, 3, 4, 5, 5, 6, 6. Write ...

19 días hace

Resuelto

Reversing Maximal Ascending Subsequences
Create and return a new array that contains the same elements as the input array, but with the elements within each strictly inc...

27 días hace

Resuelto

Calculating the Union Area of Overlapping Rectangles
Calculate the area covered by a union of multiple rectangles. Each rectangle is represented by 4 integers: the first two integer...

28 días hace

Resuelto

Property dispute!
Two neighbors have rectangular plots of land A and B. The surveyors give you the coordinates of each. If they overlap, there is ...

28 días hace

Resuelto

Sun angle
Determine the angle of the sun above the horizon based on the time of day. Assumptions: the sun rises in the East at 6h00, cor...

alrededor de 1 mes hace

Resuelto

Compress list
Given a non-empty list L of positif integers, compress the list so that only one occurrence is retained if two (or more) equal e...

alrededor de 1 mes hace

Resuelto

Beam me up, Scotty!
It's the mid 22nd century. You, Montgomery Scott, are appointed the chief engineer of the Starship Enterprise. The Starship is...

alrededor de 1 mes hace

Resuelto

Calculate the Area of the Ring
You have Ring which consist of inner and outer Circles with Radius r and R which are not given but you'll be given Hprizontal ...

alrededor de 1 mes hace

Resuelto

Find Next Strictly Greater Element
Given an array of numbers, create a new array where each element represents the next strictly greater element to the right of th...

alrededor de 1 mes hace

Resuelto

Remove Unique Elements
Given a list of integers, we want to keep only the non-unique elements in this list. To do this, we need to remove all the uniqu...

alrededor de 1 mes hace

Resuelto

Out-of-Place Elements Count
Determine the number of elements in a list of integers that are not in their original order after sorting the list in ascending ...

alrededor de 1 mes hace

Resuelto

Largest Rectangle Area in a Histogram
Given a histogram represented by an array of integers, e.g., [2, 1, 4, 5, 1, 3, 3] : find the maximum area of a rectangle tha...

alrededor de 1 mes hace

Resuelto

Maximizing Stock Profit
As a stock exchange broker focusing on a single transaction, your goal is to maximize profit by buying a stock at a low price an...

alrededor de 1 mes hace

Resuelto

Spreadsheet Column Number
Spreadsheet uses an alphabetic naming system for columns, starting with 'A', 'B', 'C', etc. The column names continue like 'AB',...

alrededor de 1 mes hace

Resuelto

Secret Message and Acrostic
One of the simplest ways to hide a message involves utilizing uppercase letters. Given a text, collect all uppercase letters in...

alrededor de 1 mes hace

Resuelto

snake_case to CamelCase convention
The snake_case naming convention writes words in lowercase and separates them with underscores. In CamelCase convention, the fir...

alrededor de 1 mes hace

Resuelto

CamelCase to snake_case convention
The CamelCase naming convention capitalizes the first letter of each word. In snake_case convention, words are written in lowerc...

alrededor de 1 mes hace

Resuelto

Instructions Following
Complete the function follow(s) which, for a given string (containing only the letters 'f', 'b', 'l', 'r'), calculates the final...

alrededor de 1 mes hace

Resuelto

Interval Compression
Given a set of integers, the task is to create a list of closed intervals where each interval includes its endpoints. For exampl...

alrededor de 1 mes hace

Respondida
Why I am not getting the same result for an integral of a piecewise function?
1 - It should be aux1 - (aux2 + aux3) 2 - The function is not vectorized properly, which provides incorrect results. I have mod...

alrededor de 2 meses hace | 0

| aceptada

Respondida
array generation using logics.
x = [0 10 20 30 0 10 20 30 40 0 10 20 30 40 50 0 10] y = x; idx = [1 find(diff(x)~=10)+1 numel(x)] for k=1:numel(idx)...

alrededor de 2 meses hace | 0

Respondida
How programmatically create an array from variable-length vectors?
Here's a method to import data from a sequence of files - %Read all the mat files in the directory Files = dir('*.mat'); %...

alrededor de 2 meses hace | 0

Respondida
How to substitute a variable into a syms function?
Define the variable as a symbolic variable and then substitute - syms Vpo Von Dp Dn ws Lp Cps Ll Lm Vsecm Isec_real Isec_imag ...

alrededor de 2 meses hace | 0

| aceptada

Respondida
How do I change the format of symbolic output
Change the symbolic preference of Type-setting as follows - syms x y sol = solve(y-x^2,x) %Preference changed (Default v...

alrededor de 2 meses hace | 0

| aceptada