Sentence structure: "I can accomplish (a) by doing (b)"


I'm trying to say sentences like "I can accomplish (a) by doing (b)." in
Japanese, and I can't seem to figure it out.

An example sentence would be "I can earn good grades by studying hard."

* * *

Maybe the english example wasn't quite right. I know accomplish complicates
the question but I do feel thats what I'm looking for. Maybe this example of
what I'm looking for will help.

"I can show initiative by working hard."

Or if someone was presenting a product demonstration before an audience.

"I can make this product appeal to the audience." "I just need to show its
usefulness."

What I want to construct is more "i can make this product appeal to the
audience by showing its usefulness."

I'm not necessarily looking for a direct translation of these sentences. An
example of how to construct the idea or something similar would work.




There are a number of ways to express this. **Roughly** in the order of
informality, those include:

「～～すれば + Vpotential。」

「～～すれば + Vdictionary + ことができる。」

「～～することで + 《Noun ｜Verb + こと》 + が[可能]{かのう}になる。」

「～～すること《により ｜ によって》 + 《Noun ｜Verb + こと》 + が可能になる。」

「～～すること《により｜によって》 + Noun + が[達成]{たっせい}できる。」

To use one of your examples "I can make this product appeal to the audience by
showing its usefulness.", you can say the following. (I take this to be about
TV shopping.)

「[商品]{しょうひん}の[実用性]{じつようせい}を[示]{しめ}せば、[視聴者]{しちょうしゃ}にアピールできる（or アピールすることができる）。」

「商品の実用性を示すことにより、視聴者 **に** アピールすることが可能になる。」

「商品の実用性 **を** 示すことで、視聴者 **への** アピールが可能になる。」

「商品の実用性 **の** [提示]{ていじ}により、視聴者へのアピールが達成できる。」

