Categories
Ask Mathematics

Given the function $f(x) =|x-1|$ in $\mathbb{R}$, I’m asked to find its primitive function.

Given the function $f(x) =|x-1|$ in $\mathbb{R}$, I’m asked to find its primitive function. My Attempt: $\int{|x-1|}dx = \int{(x-1)}dx \ \text{if } x\ge 1$ and $\int{(-x+1)}dx \ \text{if } x< 1$ Therefore: $\int{|x-1|}dx = \frac{x^2}{2}-x +c$ if $x \geq 1$, and is equals to: $ -\frac{x^2}{2}+x +c$ if $x < 1$. My problem is that […]

Categories
User Help

USB Hubs: Topology: proper port numbering?

I have a topology-sensitive application and I am looking for hubs that give larger port numbers. Example: I have a 13 port Anker hub that reports the ports as 1-1,1-2,1-3,1-1,1-2,1-3,1-1,1-2,1-3,1-1,1-2, which confused my application because tit re-uses ports 1,2,3, and doesn’t increment the bus (the first number) (This is in Linux) So it effectively makes […]

Categories
Mastering Development

Drawing a Pyraminx with triangles

I’m trying to code a Pyraminx which is a tetrahedon composed with multiples triangles. The way I do it must not be very accurate. Here is my code, also available at https://codepen.io/jeffprod/pen/XWbBZLN . The problem is that i’im writing the facesVectors coordinates handly. It seems ok for the yellow and blue side. But it is […]

Categories
Mastering Development

Program that inputs observation into a vector based on intersection of three observations

Hello I am having difficulty with finding a solution to a program I have been writing and could use some support. The objective is to create a new parameter called Lambda for each person in my data set. Lambda is a function of 3 observations found in Df_obvs: Row, OAlpha, OSigma. Row determines the data.frame […]

Categories
Mastering Development

How can I add the ken burns effect to this slider?

can anyone explain how to add the Ken Burns effect to this slider? I tried adding the following to the keyframes but it didn’t work: 95% { transform: scale3d(1.5, 1.5, 1.5) translate3d(-190px, -120px, 0px); animation-timing-function: ease-in; opacity: 1; } 100% { transform: scale3d(2, 2, 2) translate3d(-170px, -100px, 0px); opacity: 0; } what is the explanation […]

Categories
Mastering Development

GGplot2 – line thickness as a legend

I would really appreciate it if anyone can help me use the thickness of the lines as a legend. Thin line = low correlation Think line = High correlation I tried using the size of the dots to show the thickness but it confuses the audience even further. I am open to other creative methods […]

Categories
Apple Ask

How much time must elapse between iMessages for a timestamp to appear in the middle?

See how it show 8:56PM and then later 9:41 AM? What is the amount of time that must elapse before a timestamp appears again? An hour, 1.5, two, three?

Categories
Apple Ask

How much time must elapse between iMessages for a timestamp to appear in the middle?

See how it show 8:56PM and then later 9:41 AM? What is the amount of time that must elapse before a timestamp appears again? An hour, 1.5, two, three?

Categories
Apple Ask

How much time must elapse between iMessages for a timestamp to appear in the middle?

See how it show 8:56PM and then later 9:41 AM? What is the amount of time that must elapse before a timestamp appears again? An hour, 1.5, two, three?

Categories
Mastering Development

Warning message: Computation failed in `stat_poly_eq()`: variable lengths differ (found for ‘R0’) in r

I use stat_poly_eq() to output the parameters and formula on the diagram, but I got the Warning message: Computation failed in stat_poly_eq(): variable lengths differ (found for ‘R0’). My scripts are as follows. ggplot(data=dat, aes(x= T_mean,y= LM.flux, col= Treat2 )) + geom_point()+ geom_smooth(method = “nls”, se=FALSE, color=”red”, formula = ‘y~ R0 * exp(Bm*x)’, method.args= list(start=c(R0= […]