# Daniel Pereira

Followers: 0 Following: 0

Industrial Engineer, with more than 10 years experience in power plants modelling, and H2020 innovation projects.

**Programming Languages:**

Python, PHP, Javascript, MATLAB, HTML, CSS, Visual Basic

**Spoken Languages:**

English, Spanish

**Pronouns:**

He/him

**Statistics**

RANK**4,522**

of 291,148

REPUTATION**10**

CONTRIBUTIONS

**4** Questions

**8** Answers

ANSWER ACCEPTANCE **
25.0%
**

VOTES RECEIVED**1**

RANK**474** of 19,759

REPUTATION**3,440**

AVERAGE RATING**4.40**

CONTRIBUTIONS**4** Files

DOWNLOADS **251**

ALL TIME DOWNLOADS**26535**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Error using sdo.SimulationTest/sim

I solved it for my model, running on a virtual Machine with Win10Pro 22H2. I have to point out that I do not know what exact ch...

1 day ago | 0

Solved

what's my tax amount this year ?

given an annual salary x and a tax rate i calculate the amount that you have to pay.Example x = 70000; i=.10 y_correc...

20 days ago

Solved

basic finance application

i watch bloomberg everyday and i want to estimate a stock price stability, so i have to calculate the momentum & the rate of cha...

20 days ago

Solved

Matrix to vector transformation

given a matrix, make in the output 1 column vector putting odd numbers in ascending order after that put the even numbers in des...

20 days ago

Solved

short or buy ? take the opportunity

you had already calculated a theoretical stock value, now you checked in bloomberg the quoted price of that stock and you have t...

20 days ago

Solved

Calculate the answer to life the universe and everything

<https://en.wikipedia.org/wiki/42_(number)>

20 days ago

Solved

Calculate the hypotenuse of a right triangle without using ^ and sqrt ()

Find out the hypotenuse of right triangle. Say a = 4, b = 3 then c = 5 Please don't use ^ and sqrt() function.

20 days ago

Solved

Calculate cosine without cos(x)

Solve cos(x). The use of the function cos() and sin() is not allowed.

20 days ago

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

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

2 years 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?

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

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

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

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

2 years ago

Solved

Digital Neighbourhood

Given a natural number reorder its digits to create another number, closest to the given one. Examples: * 123 gives 132, ...

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

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

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

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

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

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

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

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

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

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

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

2 years ago