Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello Everyone.
From :
How to plot a cup ?
Thanks in advance for your time and help.
Regards.
Solved! Go to Solution.
One of many possible ways
I greatly appreciate your time and help, Werner. Still have a very small query : How to add the base of the cup ?
Best Regards.
Just don't fill liquid in the cup 🙂
"Now you can fill in liquid or trap a fly underneath"
Werner, I'm imagining I could fill in hot coffee now 🙂 and want keep it warm. And how to add the lid of the cup ?
Best Regards.
Loi.
@lvl107 wrote:
"Now you can fill in liquid or trap a fly underneath"
Werner, I'm imagining I could fill in hot coffee now 🙂 and want keep it warm. And how to add the lid of the cup ?
You won't be able to access your coffee if you add the lid. But you can use the very same principle to add the tp surface as I did with the bottom (which gets the top if the height is negative, as you could see).
Simply map for example the interval from 1 to 2 for t to the range from r2 to 0 using another if statement in the definition of f(t). I'll leave it as an exercise for you to do 😉
But you sure could simply add a (slightly larger) lid as a separate cone of only marginal (negative) height:
Werner, follow your hint and do exercise, I guess now I could "trap a fly underneath" : 🙂
Best Regards.