# Plotting hypergeometric functions with constants

**URL:** <https://community.wolfram.com/t/plotting-hypergeometric-functions-with-constants/23855>\
**Category:** Questions\
**Tags:** graphics-and-visualization\
**Created:** [April 11, 2024, 1:24am UTC](https://community.wolfram.com/t/plotting-hypergeometric-functions-with-constants/23855 "2024-04-11T01:24:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ethangarciacoker](https://avatars.discourse-cdn.com/v4/letter/e/ac91a4/32.png) [@ethangarciacoker](https://community.wolfram.com/u/ethangarciacoker)\
**Post date:** [April 11, 2024, 1:24am UTC](https://community.wolfram.com/t/plotting-hypergeometric-functions-with-constants/23855/1 "2024-04-11T01:24:38Z")

</div>

I am brand new to Wolfram, so I am still learning. However, I am trying to plot a couple of hypergeometric functions, one being a Kummer confluent and the other being a confluent of the 2nd kind. I seem to be getting caught up on getting the proper range of the variable(s) that I have; I am counting _a_ and _b_ as constants in this scenario, as they are yet to be determined. I have tried a few different values for the boundaries but so far have not had any luck in plotting. What would be the correct way to go about this, if at all possible?

[Open in Wolfram Cloud ↗](https://www.wolframcloud.com/obj/139b5028-da37-4d9b-84fb-c3bf5361301e)

---

<div class="post-metadata">

**Author:** ![dontdont9](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@dontdont9](https://community.wolfram.com/u/dontdont9)\
**Post date:** [April 11, 2024, 5:18am UTC](https://community.wolfram.com/t/plotting-hypergeometric-functions-with-constants/23855/2 "2024-04-11T05:18:34Z")

</div>

Try scraping this into a freshly started MMA empty notebook

```
c2=3;b=4;a=5;c1=6;
ComplexPlot3D[
  c2 E^(-Sqrt[b] x)*Hypergeometric1F1[a/(2 Sqrt[b])+1,2,2 Sqrt[b] x]+
  c1 E^(-Sqrt[b] x)*HypergeometricU[a/(2 Sqrt[b])+1,2,2 Sqrt[b] x],
  {x,-10-2 I,10},PlotLegends->Automatic]

```

and see if you can get that to plot for you.

If it does then you can start making tiny changes, one at a time, and testing after each one to see if you can get it closer to what you actually want and still have it plot for you.
