2
$\begingroup$

EDIT: the question got reopened thanks to the suggestions.


I got my question closed with the following reason:

Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc.

The question is relevant since it resembles an actual problem I'm facing. Not sure how can I include motivation more explicitly, since it's obvious that the motivation is to maximize profit. What edits should I make to make my question on-topic?

$\endgroup$
16
  • 1
    $\begingroup$ You can reference the source of the problem and include strategies that you think can be used to solve it. Also include relevant attempts in solving the problem. At the very least, you can see what trial and error suggests. $\endgroup$
    – user1082389
    Aug 7 at 7:39
  • $\begingroup$ @BeKind I added a paragraph containing my attempt. $\endgroup$ Aug 7 at 7:41
  • 2
    $\begingroup$ Try to show, not tell. Show us all the progress you have made with the compound interest formula and point out exactly where you are stuck. $\endgroup$
    – user1082389
    Aug 7 at 7:43
  • $\begingroup$ @BeKind I included a Python script that I've tried. $\endgroup$ Aug 7 at 7:46
  • 4
    $\begingroup$ What was the output of the Python script? Does it give you any hints to solve the problem? Also, include the math - what logical deductions did you make from the compound interest formula? What is the furthest you could come to in solving the problem? $\endgroup$
    – user1082389
    Aug 7 at 7:48
  • $\begingroup$ @BeKind I included the output and how far I've gone solving the issue. $\endgroup$ Aug 7 at 7:54
  • 3
    $\begingroup$ Looks good to me. We'll see what the more experienced users on this site have to say. As a side note, it's recommended to use Mathjax wherever necessary for questions on this site. $\endgroup$
    – user1082389
    Aug 7 at 7:58
  • 1
    $\begingroup$ It is not quite clear if this is a math problem, or is it just a problem of writing Python script. $\endgroup$ Aug 7 at 8:02
  • $\begingroup$ And I guess you reused some of your previous code for another problem? I don't really see why there is a "gas_fee_in_usd" in your script. $\endgroup$ Aug 7 at 8:04
  • 1
    $\begingroup$ @ArcticChar It's a math problem, I was just asked to show what I've tried and it happened to be in Pyhton $\endgroup$ Aug 7 at 8:16
  • $\begingroup$ @ArcticChar gas_fee_in_usd represents the fee of one transaction. $\endgroup$ Aug 7 at 8:17
  • $\begingroup$ I suggest you made some edit so that it is a clear math probem that one can answer. Right now it looks like a python script that does not work and you do not know how to modify it. $\endgroup$ Aug 7 at 8:20
  • $\begingroup$ @ArcticChar I described the clear math problem in the first half of the question, the Python code is just there to show my progress. $\endgroup$ Aug 7 at 8:30
  • $\begingroup$ @ArcticChar I added what I'm looking for (a formula that I can find the maximum of), hopefully, that makes it clearer $\endgroup$ Aug 7 at 8:39
  • $\begingroup$ The problem is as a non-Python user, I have absolutely no idea what that script does, and thus no idea where you are stuck. $\endgroup$ Aug 7 at 9:06

1 Answer 1

-1
$\begingroup$
  1. Formatting, see how to write headers, bold text etc in the MSE text editor

  2. MSE has a general code-o-phobia in my opinion. There is a reluctance to embrace any type of code beyond math jax, so that maybe a reason for negative perception.

  3. One has to read your calculation and reverse engineer what idea you had. If your idea was non sense, reverse engineering is doubly hard.

    3.1. Hence, you should give an outline of the idea before showing the calculation

$\endgroup$
6
  • $\begingroup$ Thank you! I edited my question and addressed all three points. $\endgroup$ Aug 7 at 9:16
  • 1
    $\begingroup$ The math jax is a bit clunky still, but it's way better. Have my upvote. @TamásSengel $\endgroup$ Aug 7 at 9:20
  • $\begingroup$ I appreciate your feedback! Please let me know how can I improve the MathJax in the question. Thanks! $\endgroup$ Aug 7 at 10:10
  • 1
    $\begingroup$ @TamásSengel To write text in math mode, use $\text{blah blah}$ to produce $\text{blah blah}$. For brackets with large expressions inside, use $\left(...\right)$ to produce $\left(...\right)$. Another useful feature for aligning equations is \begin{align}\end{align}. For more details, see here. $\endgroup$
    – user1082389
    Aug 7 at 11:49
  • $\begingroup$ I adjusted the MathJax using your suggestions. @BeKind $\endgroup$ Aug 7 at 12:13
  • 2
    $\begingroup$ @TamásSengel For the multiplication symbol, I recommend using $\times$ (produces $\times$) or $\cdot$ (produces $\cdot$). $\endgroup$
    – user1082389
    Aug 7 at 12:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .