PTC Mathcad - Symbolic Solver Demo

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 18

  • @fluna90
    @fluna90 Год назад +1

    Great video! Thank you very much!

  • @sergeydukman5832
    @sergeydukman5832 Год назад +1

    Very usefull presentation.
    Thank you.

  • @Omarfa25_
    @Omarfa25_ Год назад

    In case i have to solve symbolicly an equation that inlcudes a 0.85 number for example, i want it to mathcad keeps it explicit, but when i use explicit, it reduce it in to unwanted number of decimals. How can i solve this

    • @PatJHeffernan
      @PatJHeffernan  Год назад

      Hi Omar. I’d be happy to look at your problem, but I don’t understand exactly what you’re trying to do. Do you have a way to share an image of your problem?

    • @Omarfa25_
      @Omarfa25_ Год назад

      @@PatJHeffernan Hello, i think i am unable to share an image tru this way. But what im tryn to do is solve an equation like this
      As*fy=0.85*B*c+A'*f'y
      Where the only guess is c, i want it to solve it symbolicly for c, but the program doenst leave the 0.85 explicit like this 1/0.85, instead it reduce it in to unwanted number of decimals, like 1.1764705882352941176

    • @PatJHeffernan
      @PatJHeffernan  Год назад

      Love concrete... so you're using the symbolic solver to solve for c (depth of NA) but you would prefer to keep the 0.85 isolated and not integrated. Try rewriting your equation using a variable for the 0.85. Make it a function of that variable. Using the symbolic solver to solve for "c" should give you a solution as a function of the undefined variable. Now just substitute 0.85 into your function and you will get the plain answer. Control the number of decimals displayed on the math formatting tab (ruclips.net/video/SLbv-YPMRMU/видео.html). Hope this helps.

    • @Omarfa25_
      @Omarfa25_ Год назад +1

      @@PatJHeffernan yeah thats exactly i want to do, keep the 0.85 isolated. Actually i did that you just said, but was wondering if there was other way to do it. Thanks anyways for you help, Grettings from Panama

  • @ahbushnell1
    @ahbushnell1 Год назад

    Can I save the results of the symbolic processor for future calculations? I know I could copy the results and paste but it won't automatically update.

    • @PatJHeffernan
      @PatJHeffernan  Год назад

      Andy, do you have an example of what you are trying to do? I can play with it to see what is possible. It’s not a thing I’ve needed before so I’d have to look into it.

    • @ahbushnell1
      @ahbushnell1 Год назад

      @@PatJHeffernan Thanks for getting back to me. I will do circuit analysis. I will generate a complex matrix say 3x3 or 4x4. The matrix has comlex s values for the frequency domain. I will invert the matrix (with symbols) and multiply by a voltage vector. This gives me the analytical answer.
      the way I do this now is to copy the answer and paste to the next line. If I change the input I have to redo the copy and paste. Thanks Andy

    • @PatJHeffernan
      @PatJHeffernan  Год назад

      One way I've been able to save results from the symbolic solver for numeric use after is to use functions. For example, if you have a polynomial and assign it to g(x), you can use the symbolic solver to assigns its integral to a new function f(x). You can now use f(x) for normal calculations. Not sure if this is useful to you. Good luck.

    • @ahbushnell1
      @ahbushnell1 Год назад

      @@PatJHeffernan That won't work. I'm having Mathcad to algebra. I produce a set of equations in the Laplace domain (i.e. functons of s). Then I do a matrix inversion thats symbolic and multiply a vector to get a vector this algebraic. I have to copy the results to a function of s to do the calculations. If I change the matrix I have to repeat the process. Thanks for the thought.

  • @121-f3v
    @121-f3v Год назад +1

    It would be great to attach the Mathcad file to this video.

    • @PatJHeffernan
      @PatJHeffernan  Год назад

      I wish I could, but I don’t believe there is a way built into RUclips to do so. That said, it would be easy enough to recreate based on the video. Cheers,

    • @121-f3v
      @121-f3v Год назад +1

      @@PatJHeffernan you can attach a link to google drive ))

    • @PatJHeffernan
      @PatJHeffernan  Год назад +1

      @@121-f3v Hmm… I will look into that. I don’t know much about Google Drive, but i can look into and use it when desired.

    • @PatJHeffernan
      @PatJHeffernan  Год назад +1

      Here is a link to the file on my OneDrive... see if that works for you. The real value is in "creating" the worksheet. 1drv.ms/u/s!AkKQQeo9NFT_gdEemlhOmMvZ0zG2_A?e=YMdmS6

    • @121-f3v
      @121-f3v Год назад +1

      @@PatJHeffernan i downloaded it, thanks a lot