Daniel Pereira
Industrial Engineer, with more than 10 years experience in power plants modelling, and H2020 innovation projects.
Python, PHP, Javascript, MATLAB, HTML, CSS, Visual Basic
Spoken Languages:
English, Spanish
Pronouns:
He/him
Statistics
RANK
4 815
of 288 441
REPUTATION
10
CONTRIBUTIONS
4 Questions
7 Answers
ANSWER ACCEPTANCE
25.0%
VOTES RECEIVED
1
RANK
489 of 19 481
REPUTATION
3 365
AVERAGE RATING
4.80
CONTRIBUTIONS
4 Files
DOWNLOADS
250
ALL TIME DOWNLOADS
25838
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Solved
Generate Square Wave
Generate a square wave of desired length, number of complete cycles and duty cycle. Here, duty cycle is defined as the fraction ...
ungefär 2 år ago
Solved
arithmetic progression
I've written a program to generate the first few terms of <https://en.wikipedia.org/wiki/Arithmetic_progression arithmetic progr...
ungefär 2 år ago
Solved
Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?
ungefär 2 år ago
Solved
Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...
ungefär 2 år ago
Solved
De-primed
Write a function that will multiply every prime number in the array or matrix by two, leaving all other numbers the same, and re...
ungefär 2 år ago
Solved
Big numbers, repeated least significant digits
This problem builds off of <http://www.mathworks.com/matlabcentral/cody/problems/3077-big-numbers-least-significant-digits/ Prob...
ungefär 2 år ago
Solved
Big numbers, least significant digits
Given two numbers, x and n, return the last d digits of the number that is calculated by x^n. In all cases, d will be the number...
ungefär 2 år ago
Solved
Digital Neighbourhood
Given a natural number reorder its digits to create another number, closest to the given one. Examples: * 123 gives 132, ...
ungefär 2 år ago
Solved
Binary Neighbourhood
Given a natural number reorder its binary form to create another number, closest to the given one. Examples: * 1 gives 2, ...
ungefär 2 år ago
Solved
Convert to Binary Coded Decimal
Convert from decimal representation to <http://en.wikipedia.org/wiki/Binary-coded_decimal Binary Code Decimal> (or BCD) represen...
ungefär 2 år ago
Solved
Find out the Gray Code for a Given Binary Number
Find out <http://en.wikipedia.org/wiki/Gray_code Gray Code> for a given binary number Example Binary input 1000 Gray ...
ungefär 2 år ago
Solved
Consecutive Equation Times (of the day)
Many times throughout the day can represent mathematical equations. In this problem, we focus on the largest consecutive run of ...
ungefär 2 år ago
Solved
Equation Times (of the day)
Many times throughout the day can represent mathematical equations. In this problem, we focus on times that include the four bas...
ungefär 2 år ago
Solved
Power Times (of the day)
Many times throughout the day can represent mathematical equations. In this problem, we focus on times that represent powers. Fo...
ungefär 2 år ago
Solved
Bit calculation
Give me the count of numbers from 1 to n having their last two bits as 0. For example function y = ret_count(4) y = x...
ungefär 2 år ago
Solved
Numbers spiral diagonals (Part 1)
Inspired by Project Euler n°28 et 58. A n x n spiral matrix is obtained by starting with the number 1 and moving to the right...
ungefär 2 år ago
Solved
Damping of Servomotors with Tachometer Feedback
In Control Engineering, servomotors with tachometer feedback can be modeled by the second order system K / [J*s^2 + (B + K*K...
ungefär 2 år ago
Solved
Find an optimal placement of coolers on a grid
In a certain chemical plant, 6 new pieces of cooling equipment (coolers) are to be installed in a vacant space. This vacant spac...
ungefär 2 år ago
Solved
Find an overlap in the cleaning schedule of two tank reactors
In a certain pharmaceutical production company, there are two tank reactors operating simultaneously and independent of each oth...
ungefär 2 år ago
Solved
Characterize fluid flow in a pipe as to laminar or turbulent
In fluid mechanics, characterizing the flow in a pipe is essential to predicting its behavior. The flow pattern can either be la...
ungefär 2 år ago
Solved
Assess the scatter of wind turbines in a field
The renewable energy industry is on the rise in many countries--- and one of the key players is wind energy. It is believed ...
ungefär 2 år ago
Solved
Compute the missing quantity among P, V, T for an ideal gas
Consider 100 mol of helium gas at a certain pressure (P), volume (V), and temperature (T). Assuming that the ideal gas law appli...
ungefär 2 år ago
Solved
Design a tubesheet for shell-and-tube heat exchangers
<<https://3.bp.blogspot.com/-kLSbhcCoT2I/WJIh-QVGLGI/AAAAAAAADEs/svvMzBqn4fUfI1rTCCH7Uw-QuDvxx0PxACLcB/s1600/Screenshot_669.jpg>...
ungefär 2 år ago
Solved
Create a matrix map of increasing safety levels
The sole nuclear power plant at Grid City suddenly had a meltdown. Luckily, the plant was designed to be in full automation, so ...
ungefär 2 år ago
Solved
Count the number of folds needed to pack a large sheet
In a certain paper factory, large sheets of paper are being made every day. Before sending the sheets for shipment, they have to...
ungefär 2 år ago
Solved
Easy Sequences 1: Find the index of an element
The nth element of a series is defined by: . Obviously, the first element . Given the nth element , find the value of the corre...
ungefär 2 år ago
Solved
Calculate the sphericity of a Raschig ring
Sphericity is a measure of the roundness of any particle. It was defined by Wadell in 1935 as the ratio of the 'surface area of ...
ungefär 2 år ago
Solved
Convert a temperature reading from Celsius to an unknown scale
Two of the most famous temperature scales are the Celsius and the Fahrenheit scale. In reality, however, there are so many other...
ungefär 2 år ago
Solved
Recurring Cycle Length (Inspired by Project Euler Problem 26)
Preface: This problem is inspired by <http://projecteuler.net/problem=26 Project Euler Problem 26> and uses text from that quest...
ungefär 2 år ago
Solved
weekday and month
Given a year and a weekday, determine how many months of that year had five of those weekdays. It is kind of easy to find. Exam...
ungefär 2 år ago