Categories
Ask Mathematics

Laplace transform of PDE

I have the partial differential equation given by $u_{t}=u_{yy}$ with the following IVP’s: $u(x,y,0)=0, u(0,0,t)=1$ and $u_{t}(x,0,t)+u_{x}(x,0,t)=0$ $u$ is a function of three variables, $x,y,t$. My question is to know which variable do I have to use for the Laplace transform? is it always $t$ or depends on the IVP?

Categories
Ask Mathematics

how to obtain the general solution using separation of variables.

Consider the Laplace equation $$\frac{\partial ^2 u}{\partial x^2} + \frac{\partial ^2 u}{\partial y^2} = 0,\quad\quad-\infty<x<\infty,\quad 0<y<\infty$$ with the boundary conditions $$\lim_{|x|\rightarrow \infty} u(x,y)\rightarrow 0, \quad 0 < y < \infty,$$ $$\lim_{y\rightarrow \infty} u(x,y)\rightarrow 0, \quad -\infty < x < \infty,$$ $$u(x,0)=x, \quad 0 \leq x < 1,$$ $$u_y(x,0)=0, \quad 1 < x < \infty,$$ which […]

Categories
Ask Mathematics

Separation of variables-general solution [closed]

$\frac{\partial ^2 u}{\partial ^2 x} + \frac{\partial ^2 u}{\partial ^2 y} = 0$ Domain : $-\infty < x < \infty, 0 < y < \infty $ Boundary condition : lim$_{|x|\rightarrow 0} u(x,y)\rightarrow 0, \quad 0 < y < \infty$ lim$_{y\rightarrow 0} u(x,y)\rightarrow 0, \quad -\infty < y < \infty$ $u(x,0)=x, \quad 0 \leq x < […]

Categories
Mastering Development

how to make aggregate table on week on week month on moth

i have latest version of mysql .i used to store data on daily based to store big data around 15,00,000 rows in a table. column name like date,circle_id,district,town,locality,vendor,type,x1,x2,x3,x4 i need to filter sum of x1 and x2 for the particular date and also i need to calculate the avg on week on week ,month of […]

Categories
Linux Mastering Development Ubuntu

in VI mode i want copy particular specific lines from. log, .txt file

I have files which contain more than 2,00,000 lines in file i. e. abc.log file in that I want to copy line 600 to 750 and 40,000 to 60,000 in VI mode and paste new txt files

Categories
CMS Joomla Mastering Development

How to compare current date to article created date?

I need a code to compare if current date and time is greater than article created time of joomla. I have this example code: function CompareDate() { // new Date(Year, Month, Date, Hr, Min, Sec); var dateOne = new Date(2020, 03, 20, 11, 00, 00); var dateTwo = new Date(2020, 03, 20, 12, 00, 00); […]

Categories
Ask Mathematics

What is the cardinality of this absolutely outrageous set?

Burning question. Consider the following set: $$A=\left\{\frac{0}{0},\frac{\infty}{\ \infty},\ 0\cdot\infty,\ 1^{\infty},\ \infty-\infty,\ 0^{0},\ \infty^{0}\right\}$$ The A stands for Any Self-Respecting Mathematician’s Worst Nightmare. Anyway, if I wanted to know $|A|$, which I sure do, how would I find it? Is $A$ a set of seven indeterminate forms, and therefore $|A|=7$? Or is $A$ equivalent to $\emptyset$ […]

Categories
Mastering Development

print equally spaced elements of a 2D array with printf

I am trying to print a 2d array that has a maximum of 3 digit numbers that are aligned when printed. For example, with a simple printf, it looks like this: [0, 232, 20, 96, 176, 0, 0] [0, 0, 24, 0, 0, 176, 0] [0, 0, 0, 0, 0, 0, 0] I would like […]

Categories
Mastering Development

Calling round(), ceiling(), floor(), min(), max() in pandas eval

As title says, Is there a way to support round, ceiling, min, max, floor functions in pandas eval. DataFrame: import pandas as pd import numexpr as ne op_d = {‘ID’: [1, 2,3],’V’:[‘F’,’G’,’H’],’AAA’:[0,1,1],’E’:[102014,112019,122017] ,’D’:[‘2019/02/04′,’2019/02/01′,’2019/01/01′],’DD’:[‘2019-12-01′,’2016-05-31′,’2015-02-15′],’CurrentRate’:[7.5,2,2],’NoteRate’:[2,3,3],’BBB’:[0,00,4],’Q1′:[2,8,00],’Q2′:[3,5,7],’Q3′:[5,6,8]} df = pd.DataFrame(data=op_d) abs() and sqrt() function works with pandas eval. i.e. df.eval(‘TT = abs(sqrt(Q1+Q2)-Q2)’,inplace=True) df can anyone suggest how to access […]

Categories
Mastering Development

What is the best way for me to print out a 2d array in python

I’m fairly new to coding, so this may seem like a bit of a silly question, however I am trying to print a 2d array grid and I’m not sure how I am supposed to do it. This is my code so far: colA = [” “, ” “, ” “, ” “, ” “] […]