Group Abstract Group Abstract

Message Boards Message Boards

Making normal derivative times corresponding multipliers continuous?

Posted 4 years ago
POSTED BY: Marissa Whitby
5 Replies

Two remarks:

1) Where exactly is your problem? 2) Unfortunately I have a stone-age version of Mathematica which doesn't know most of your commands, so I can only guess what you want to do, but sorry, I cannot help you.

POSTED BY: Hans Dolhaine
Posted 4 years ago
  1. My problem is that I need the values produced by the module for the left and right hand limits approaching y=1.5 to be close so that the overall function in the module, namely n*\[Epsilon]grad(phi), is continuous across the border I have defined in my geometry.
  2. Okay no worries thank you for trying to help!
POSTED BY: Marissa Whitby
Posted 4 years ago

Hi Hans,

Unfortunately I have a stone-age version of Mma which doesn't know most of your commands

At the Wolfram Technology Conference earlier this month a "retiree" license option was mentioned. The idea is to allow retired people to purchase a license for Mathematica or Wolfram Desktop at a very low cost. You can also use the latest version in a browser by signing up for a free Wolfram Cloud account

Marissa, sorry about the off-topic response.

POSTED BY: Rohit Namjoshi

For me it is by no means clear what you want to achieve. You could multipy your 1st expression by 3.9 and the 2nd by 43.6 and then they are close indeed, but I doubt that is an appropriate solution.

I assume that you have to regions in space. In one you have pot1, and in the other you have pot2. You could connect them from points short off the boundary by a polynomial so that the derivatives are equal. Is it this what you want to do?

p[x_] := Sum[a[i] x^i, {i, 0, 3}]

Solve[
 {
  p[x - d] == u phi[x - d],
  p[x + d] == v phi[x + d],
  D[p[x - d], x] == u (phi[x - d] - phi[x - d - eps])/eps,
  D[p[x + d], x] == D[p[x - d], x]
  },
 {a[0], a[1], a[2], a[3]}
 ]
POSTED BY: Hans Dolhaine
Posted 4 years ago

Thank you for your response. My apologies. I should've stated my question more clearly. I have added more details and more of the code I am working with. Please let me know if you have any other suggestions. Thank you!

POSTED BY: Marissa Whitby
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard