# Efficiency=0

Types two hours of latex in solution, clicks away from the problem box, loses all text.

ss

Note by John M.
6 years, 10 months ago

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

• Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
• Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
• Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$ ... $$ or $ ... $ to ensure proper formatting.
2 \times 3 $2 \times 3$
2^{34} $2^{34}$
a_{i-1} $a_{i-1}$
\frac{2}{3} $\frac{2}{3}$
\sqrt{2} $\sqrt{2}$
\sum_{i=1}^3 $\sum_{i=1}^3$
\sin \theta $\sin \theta$
\boxed{123} $\boxed{123}$

Sort by:

@John Muradeli @Agnishom Chattopadhyay This is definitely very inconvenient, and we are planning to improve this behavior. However, it might take us a while and in the meantime, if you will be writing a long Latex solution, you could use a preview program like www.writelatex.com.

Staff - 6 years, 10 months ago

Hey, thanks for the link! But here's what I get:

ss

This is from my school computer which has administrative settings that block lots of things, so could be due to that. If I do it from home, it may be different. Meanwhile, I wonder if anyone else has such issues.

- 6 years, 10 months ago

Works for me: writelatex.com screenshot.

Staff - 6 years, 10 months ago

There was an extra dot (.) added after the url. If you remove the dot or click on the link (I converted the url from text to a link) it will probably work.

Staff - 6 years, 10 months ago

Ooh woah what a dumb mistake.

Thank you!

- 6 years, 10 months ago

Haha, of course I would make that mistake... Fixed it.

Staff - 6 years, 10 months ago

Happens to me very often

- 6 years, 10 months ago

- 6 years, 10 months ago

Sorry, I can't see the 3D Version there. If you can get an image of it please tell me, I will consider using it in my Valentine's day card.

In the meantime, I created this using complex_plot: Link

- 6 years, 10 months ago

OMG that's amazing!!!

Is it only possible on that website or can I use some other more convenient software to do it?

Oh and 3D I was referring to one of Wolfram's 3 variable equations where they advertised Valentine's Day discounts or something... But I think it plots not as cool as they advertise, but WOAH your heart is the epitome of 2D hearts :O

- 6 years, 10 months ago

I did it with SAGE

You can run sage on the cloud with this

Just copy and paste the following code:

 1 2 3 4 5 6 def f(z):  x = real(z)   y = imaginary(z)   return (x^2 + y^2 -1)^3 - x^2*y^3 complex_plot(lambda z: (1/f(z)*i^(z+1)),(-1.5,1.5),(-1.5,1.5),plot_points=50) 

Edit the plot_points=50 line if needed for a better resolution

- 6 years, 10 months ago

I actually get a pretty crappy quality with 50. Are you sure you used 50 and not 500? Or it could be my computer. So I basically kinda get it, but what's up with all the lambda z and 1/f(z) and stuff? Is this some computer programming jargon?

- 6 years, 10 months ago

I used 300 or 500 but I suggested 50 because it is quicker.

f(z) has been defined in the code already. lambda is a programming jargon. It is just an way of writing a function without giving a name to it

- 6 years, 10 months ago

I suggest typing your solutions on word or something rather than brilliant.

- 6 years, 10 months ago

When I work with Latex I must occasionally click preview to see if I've fixed everything, and this is when my computer can lag and I'll click in a space below the problem box and then I lose everything. Thankfully I anticipated this happening and had the code pasted in an empty tab, though I did have to recover about 20 mins of work that I did not copy at the time.

Still, Brilliant needs to fix this. Imagine if I didn't save that thing? I'd go MAD!

- 6 years, 10 months ago

@John Muradeli I think the best you can do at present is to copy it on the clipboard constantly. I do this, so if I accidentally click on 'back', I can still go back and click on 'paste'...

- 6 years, 10 months ago

Some times I have to copy other sections of the text within the latex (like those that repeat frequently, ex. cuberoots and fractions and stuff), and forget to copy the whole thing... Besides I shouldn't be feeling like I'm on tip-toes on this. The text should remain even if I click away.

But for now, copying repeatedly will do.

- 6 years, 10 months ago