Questions tagged [graphing-functions]

For questions regarding the plotting or graphing of functions. For questions about the kinds of graphs with vertices and edges, use the (graph-theory) tag instead.

Given a real-valued function $f\colon \mathbf{R} \to \mathbf{R}$, the graph of $f$ is the set of all input-output pairs $(x,f(x))$ regarded as a set of points in the plane $\mathbf{R} \times \mathbf{R}$. Considering the graph of a function gives us a geometric perspective on the data that the function represents.

  • If the function $f$ is continuous, the graph of $f$ "looks continuous." That is, there are no gaps, and the graph is a connected curve.

  • If the function $f$ is differentiable, then it will contain no "sharp corners."

  • If we're thinking of the domain of the function as representing time, the the graph gives us a nice visualization of the change in outputs of the function over time.

A graph can be defined much more generally though. Let $\mathbf{k}$ be a local field, and suppose $f$ is a vector-valued function $f\colon \mathbf{k}^n \to \mathbf{k}^m$ where $f(x_1, \dotsc, x_n) = (y_1, \dotsc, y_m)$ and each coordinate $y_i$ of the output is a function of the $x_1, \dotsc, x_n$. In this setting, the graph of $f$ is the set of points

$$(x_1, \dotsc, x_n, y_1, \dotsc, y_m) \subset \mathbf{k}^{n+m}\,.$$

This general construction of the graph of a function can be useful in the study of algebraic geometry or the study of manifolds.

5041 questions
0
votes
0 answers

What is the best way to code a function on a (generic) function?

excuse me for the long introduction. let me try to motivate my approach before I ask my question. I need to produce a lot of graph like this My problem is that on my i7 it take a lot of time to produce it: 95 seconds. I'm not so expert in…
0
votes
1 answer

What type of function is graphed here, and how do I find an equation for it?

To me it looks like a reciprocal function mixed with a cubic function. I tried out x/((x+1)(x-4)) and it looks very close, but I can't figure out the correct transformations to apply. What is the best way to go about trying to find an equation for…
0
votes
1 answer

How to get equation for semilog graph

I would like to get equation for a known graph "speech banana" So, It happens to have be something like two joined $x^2$ equations. One starts on $ (1000,65) $ and other $ (1000,40)$. So If I would be on linear graph I could just join both $x^2$…
edgarmtze
  • 437
0
votes
0 answers

I'm trying to build an artillery piece in a video game, how would I find out what angle I need to shoot the artillery to hit a point?

In this game I am trying to build an artillery piece that can hit points on the map. I have access to My location (X,Y,Z) - Target's location (X,Y,Z) - Target's distance Assuming its at the same Y, the artillery can hit something 1000 "blocks" away…
0
votes
1 answer

Plotting data to find an exponent

I have an equation of the following form $$\frac{2L}{v} = A\left(\frac{\nu}{\epsilon}\right)^{0.5}Re^y$$ I would like to plot this in order to obtain the constant "A" and the exponent "y". $L, v, \nu, \epsilon, Re$ are all variables. I tried…
rdemyan
  • 97
0
votes
0 answers

Process and plot the supposed data

Build a Plot Suppose it's given us experimental data is the array of pairs: first number L = PO2 - partial pressure and second Y = SatHb - Oxygen saturation The Array is NOT monotonic We need to processing the experimental data: Building Hill plot…
joyer
  • 1
0
votes
0 answers

Plots change if variables are rearranged

I have the following equation which I believe is approximately valid for my dataset. $$\frac{L\sin\beta}{s_i} = A\left(\frac{\sin\beta}{RE\cos\beta}\right)^{0.5}$$ where L, $\beta, s_i$, and RE are variables (RE is the Reynolds number); $A$ is a…
rdemyan
  • 97
0
votes
1 answer

One graph with three different types of asymptotes

This graph is what I came up with while searching for one that had three different types of asymptotes, horizontal, vertical, and oblique.$f(x)=\sqrt{x^2+\frac{1}{x^2}}+x$ Can you provide other functions with three asymptotes? Please share your…
Henry
  • 332
0
votes
1 answer

Why is the graph of a constant, a line?

Why is the graph for x=3 (Or C where C is a constant) as a vertical line on the xy coordinate plane or Y = some C as a horizontal line? Shouldn’t they be points?
0
votes
1 answer

Does the $Y$-intercept of the graph $\frac{f(x)}{x}$ against $x$ exist?

Given the following function: $$f(x)=ax^2 + bx$$where $a$ and $b$ are constants and $a,b\in \mathbb{R}$. The graph of $y$ against $x$ where $y=f(x)$ will be a quadratic. But I can convert the equation $f(x)=ax^2+bx$ into its linear form, $Y=mX+c$,…
0
votes
1 answer

How do I linearize these graphs?

I have four data sets which comprise non-linear functions, and my teacher wants me to linearize them. Unfortunately, I am utterly confused. The first data set is an inverse function. This is the data: V ($m^3$) P…
0
votes
1 answer

Custom bounce easing function

I'm trying to write a bounce easing function with an adjustable amount of bounciness. This is the one I'm currently using but it's much too bouncy for my use case: https://easings.net/#easeOutBounce Have created a tool to help visualise the…
Jazcash
  • 101
0
votes
2 answers

How to transform a function to make it touch the x-axis?

Say I have a function $f(x) = x^2 + 2$ This function never touches the x-axis, but it could be easily transformed to touch it by cancelling the constant as in $g(x) = (x^2 + 2) - 2$ Is there any way to generalize this, so that I can make any…
0
votes
0 answers

What is the difference in the quantity when graph axis shows d/10^6m and 10^6/m?

What is the difference in the quantity, when deduced from a graph, when the graph axis is labelled like "$10^6/m$" and "$d/10^6m$"? For example, for the number $5$ on the graph, would the quantity be $5*10^6$ in the first or the second "type" of…
0
votes
2 answers

Equation of the graph by points

I have a non-static set of points How do I get the equation of a graph passing through all these points? The graph should consist of straight lines, as in the picture As in the picture below, except that it's not a table, but one equation