# \#homework

**URL:** https://discourse.julialang.org/tag/homework/1457.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Dataframes](https://discourse.julialang.org/t/dataframes/107112)

<div class="topic-metadata">

**Author:** [@Kearney](https://discourse.julialang.org/u/Kearney)\
**Replies:** 2\
**Last updated:** [December 4, 2023, 1:12pm UTC](https://discourse.julialang.org/t/dataframes/107112 "2023-12-04T13:12:09Z")

</div>

i need to generate two plots of two datasets and save them, as .png files, respectively, wind-gen.png and system-demand.png. The first plot should be of the wind data, showing both actual power generated and what was fo…

---

## [Polynomial problem-help me please](https://discourse.julialang.org/t/polynomial-problem-help-me-please/105195)

<div class="topic-metadata">

**Author:** [@condor98](https://discourse.julialang.org/u/condor98)\
**Replies:** 8\
**Last updated:** [October 19, 2023, 9:43pm UTC](https://discourse.julialang.org/t/polynomial-problem-help-me-please/105195 "2023-10-19T21:43:44Z")

</div>

this post is deleted for nother topic

---

## [Overfitting polynomial. help](https://discourse.julialang.org/t/overfitting-polynomial-help/105200)

<div class="topic-metadata">

**Author:** [@condor98](https://discourse.julialang.org/u/condor98)\
**Replies:** 2\
**Last updated:** [October 19, 2023, 9:36pm UTC](https://discourse.julialang.org/t/overfitting-polynomial-help/105200 "2023-10-19T21:36:54Z")

</div>

Hi guys, I’m having trouble with this exercise. Order 18 is too overfitting for me. how can I solve it? a graph like the one on the orange line should come out. the one with the red line is mine. where I’m wrong in the c…

---

## [Laplace equation in one dimension](https://discourse.julialang.org/t/laplace-equation-in-one-dimension/67715)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 5\
**Last updated:** [September 6, 2021, 2:25am UTC](https://discourse.julialang.org/t/laplace-equation-in-one-dimension/67715 "2021-09-06T02:25:55Z")

</div>

Please solve the Laplace equation in one dimension on a region bounded between x ∈ \[0, 1\], with the boundary condition Φ(0) = 1, and Φ(1) = 2. Actually line should pass through (0,1) making 45 degree with x,y-axis.

---

## [PDE heat equation](https://discourse.julialang.org/t/pde-heat-equation/64428)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 24\
**Last updated:** [July 20, 2021, 3:15pm UTC](https://discourse.julialang.org/t/pde-heat-equation/64428 "2021-07-20T15:15:00Z")

</div>

i want to solve the matrix ,but i can’t do it. i am new to Julia. please help me in finding error .i have to plot the last equation given in picture below. what is MethodError i am making?

---

## [Pde heat diffusion solution](https://discourse.julialang.org/t/pde-heat-diffusion-solution/64027)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 33\
**Last updated:** [July 7, 2021, 2:47pm UTC](https://discourse.julialang.org/t/pde-heat-diffusion-solution/64027 "2021-07-07T14:47:00Z")

</div>

m = 100 delta\_z = 0.015 delta\_t = 0.15 z= delta\_z : delta\_z : 1-delta\_z print(z) j=1 n=1 while j\<=10 f(j)=1/(j\*(delta\_z)-1) a(j) = (1+((2\*(delta\_t))/((delta\_z)^2))+(((delta\_t)f(j))/(delta\_z))-((delta\_t)m(f(j)))) …

---

## [Upper bound algorithm how can I translate my algorithm in julia code](https://discourse.julialang.org/t/upper-bound-algorithm-how-can-i-translate-my-algorithm-in-julia-code/57729)

<div class="topic-metadata">

**Author:** [@Yasmine\_123](https://discourse.julialang.org/u/Yasmine_123)\
**Replies:** 2\
**Last updated:** [March 23, 2021, 9:18am UTC](https://discourse.julialang.org/t/upper-bound-algorithm-how-can-i-translate-my-algorithm-in-julia-code/57729 "2021-03-23T09:18:51Z")

</div>

Hi everyone, I am a new user of julia. I should write an optimistic algorithm given the similarity parameters sij and the number of families r, partition the m product types into r families G1, …, Gr, each of size m/r,…

---

## [Homework policy](https://discourse.julialang.org/t/homework-policy/2342)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 23\
**Last updated:** [October 1, 2020, 11:33am UTC](https://discourse.julialang.org/t/homework-policy/2342 "2020-10-01T11:33:53Z")

</div>

There have been a few questions in the past few days which are most likely homework. As the language grows, more and more courses will adopt it, so it may be a good idea to formulate some kind of policy that aligns expec…

---

## [I am new to Julia, could someone help me to check the code?](https://discourse.julialang.org/t/i-am-new-to-julia-could-someone-help-me-to-check-the-code/45528)

<div class="topic-metadata">

**Author:** [@MonteKpncto](https://discourse.julialang.org/u/MonteKpncto)\
**Replies:** 6\
**Last updated:** [August 26, 2020, 12:30pm UTC](https://discourse.julialang.org/t/i-am-new-to-julia-could-someone-help-me-to-check-the-code/45528 "2020-08-26T12:30:00Z")

</div>

It is a square root language,

---

## [Please help, I study computer science at the university](https://discourse.julialang.org/t/please-help-i-study-computer-science-at-the-university/39262)

<div class="topic-metadata">

**Author:** [@qais](https://discourse.julialang.org/u/qais)\
**Replies:** 9\
**Last updated:** [May 11, 2020, 2:36pm UTC](https://discourse.julialang.org/t/please-help-i-study-computer-science-at-the-university/39262 "2020-05-11T14:36:52Z")

</div>

Please my friends Can you answer these questions related to the Julia programming language ? Classify your language (imperative, functional, logic, OO, your choice). Is the scoping static or dynamic? Is type ch…

---

## [Please help me with my optimal power flow problem](https://discourse.julialang.org/t/please-help-me-with-my-optimal-power-flow-problem/31211)

<div class="topic-metadata">

**Author:** [@varun\_yaramasu](https://discourse.julialang.org/u/varun_yaramasu)\
**Replies:** 2\
**Last updated:** [November 18, 2019, 9:02am UTC](https://discourse.julialang.org/t/please-help-me-with-my-optimal-power-flow-problem/31211 "2019-11-18T09:02:25Z")

</div>

using JuMP,Ipopt m=Model(with\_optimizer(Ipopt.Optimizer)) from to r x b Max\_MVA(rate) branch=\[ 1 2 0.1 0.2 0.04 60 1 4 0.05 0.2 0.04 90 1 5 0.08 0.3 0…

---

## [Syntax error of getindex in my code](https://discourse.julialang.org/t/syntax-error-of-getindex-in-my-code/29039)

<div class="topic-metadata">

**Author:** [@Fuad\_Sami](https://discourse.julialang.org/u/Fuad_Sami)\
**Replies:** 11\
**Last updated:** [September 22, 2019, 6:14pm UTC](https://discourse.julialang.org/t/syntax-error-of-getindex-in-my-code/29039 "2019-09-22T18:14:50Z")

</div>

this is the error : LoadError(“main.jl”, 5, ErrorException(“syntax: invalid iteration specification”)) function makeAnagram(a::String,b::String) lettercounts = zeros(Int,27) for i in a a1 = a\[i\] …

---

## [Should there be a "homework" category?](https://discourse.julialang.org/t/should-there-be-a-homework-category/6463)

<div class="topic-metadata">

**Author:** [@Per](https://discourse.julialang.org/u/Per)\
**Replies:** 7\
**Last updated:** [October 16, 2017, 9:29am UTC](https://discourse.julialang.org/t/should-there-be-a-homework-category/6463 "2017-10-16T09:29:52Z")

</div>

As Julia gains traction, there is likely to be more courses and therefore homework assignments and questions about homework assignments in Julia. Homework questions are special, in that the goal is not to find the solut…

---

## [Algorithm to plot sample distribution](https://discourse.julialang.org/t/algorithm-to-plot-sample-distribution/2287)

<div class="topic-metadata">

**Author:** [@Laura\_Macciocchi](https://discourse.julialang.org/u/Laura_Macciocchi)\
**Replies:** 2\
**Last updated:** [February 25, 2017, 1:20am UTC](https://discourse.julialang.org/t/algorithm-to-plot-sample-distribution/2287 "2017-02-25T01:20:28Z")

</div>

I have this exercise but i got stuck j=1
