272 questions
2
votes
0
answers
58
views
R ggplot2 label with math expression coming from a function variable [closed]
I'm trying to create a function that plots an image based on a given data and label the image according to an input variable (which currently I have as a string). I would like to make the labels ...
1
vote
1
answer
77
views
How fix error in Mathematica "NDSolve::ndsz: At t == ... step size is effectively zero; singularity or stiff system suspected" when using Manipulate?
I am trying to solve a nonlinear system of differential equations in Wolfram Mathematica using NDSolve and visualize the solution with Manipulate. However, I encounter the following error when running ...
1
vote
2
answers
76
views
How to Display LaTeX-style Expressions in R Plot Titles Using expression()
I am working on a simulation study in R where I am plotting bias and variance curves for different estimators. I want the titles of the subplots to include properly formatted mathematical expressions, ...
1
vote
0
answers
48
views
Dealing with tensors and symbolic language in python
I want to do manipulations with big mathematical expressions containing tensors and symbols. For example I have expressions containing the Kronecker delta $δ_{ij}$ and the 3-dimension Levi-Civitta ε_{...
1
vote
1
answer
120
views
HTML MathJax not showing the entire square bracket around matrix
First of all, my English is not very good. So sorry if I don't write it correctly!
I have a website where I want to write some mathematical equations, some of them are very big. I have a matrix I want ...
-1
votes
1
answer
70
views
isosceles trapezoid building : search mathematical relation between matrix scaling factor transformation and angle [closed]
by using the following script, it is possible to compute coordinates of isoceles trapezoid:
import numpy as np
# given parameters
long_base = 4
height = 1
scale_factor = 0....
0
votes
0
answers
34
views
Alternatives to IF function
I have this formula - ((F29-((F29*((100-H25)/100))+(D29*0.5))) where F values are input H 25 is input and D values are input (F and D are from Data and H25 is manipulable.
I get an answer, However It ...
0
votes
0
answers
22
views
Matlab warning unable to calculate convolution of piecewise function
I am working with Matlab and I am trying to find the convolution of 2 piecewise functions.My first function is x(t) is a periodic function with sines and cosines and the 2nd function h(t) is a ...
-1
votes
2
answers
197
views
Algorithm for converting infix to postfix with Python
I am attempting to write up the following algorithm (provided in ordinary English) in Python for converting simple mathematical expressions from infix form to postfix form:
Create a new empty list, '...
0
votes
5
answers
80
views
Make this python loop algorithm shorter (mathematics invloved)
For sake of learning i opt for not using any additional libraries.
Goal of this algorithm to break lit lst into chunks 8 records each.
And additionally load the values from dictionary dct for records ...
1
vote
1
answer
348
views
Writing mathematical expression with numerator and denominator in markdown github
I want to write the next expression in readme.md file in my github repository :
Unfortunately, I could not get the right formula. I have tried the next expression :
$$R^2= 1 - {MSE\over Var(y)}= 1- { ...
0
votes
1
answer
88
views
How do i check if the p elements in my div are a valid mathematical expression [closed]
I wanted to check if the <p> elements inside my <div> with id screen are a valid mathematical expression,doing the validation inside my operationLogic() then return the result of whatever ...
0
votes
0
answers
49
views
Trouble solving the system of nonlinear differential equations in sage math
I am solving a 9x9 system of ordinary differential equations. In simple terms, I need to get the equilibrium expressions for the system. I am using the solve command in sage, but I get an error whose ...
1
vote
1
answer
300
views
Using fractions and greek letters in ggplot annotations, what works and what doesn't
I'm attempting to use a fractional value of pi in an annotation to a ggplot. The goal is to add a notation of the angle in both degrees and radians.
I've reviewed many other posts, but none concern ...
1
vote
1
answer
2k
views
How to display latex or mathematical equation in a android compose application?
I want to build a android application based on jet pack compose which can display math equations or latex.
I have checked internet and found many libraries but all are for xml and not for compose and ...