exp curve and leveling up

hello! i have two questions.

1) i wanna make it so that each level up requires 100 EXP every time and not 50, 100 ...etc. Is it possible? i don't really get how that EXP curve works...

2) it's not necessary but would be nice anyway 😀
I wonder if it's possible to make the same exp thing as in many Shining Force games? When brand new enemies give a lot of exp at first but after a few level ups they start to give less and less so you can't grind forever.


edit: thank you!!
Code:
class RPG::Class < RPG::BaseItem
  def exp_for_level(level)
   lv = level.to_f
   basis = @exp_params[0].to_f
   extra = @exp_params[1].to_f
   acc_a = @exp_params[2].to_f
   acc_b = @exp_params[3].to_f
   return ( basis * ( (lv-1) ** (0.9 + acc_a / 250) ) * lv * (lv+1) / (6 + lv ** 2 / 50 / acc_b) + (lv-1) * extra ).round.to_i
  end
end

it might just be a matter of changing that whole chunk to simply return 100
it might just be a matter of changing that whole chunk to simply return 100
To make this easier here is the altered code
Code:
class RPG::Class < RPG::BaseItem
  def exp_for_level(level)
   return 100 * level
  end
end

Original thread: https://forums.rpgmakerweb.com/threads/exp-curve-and-leveling-up.112057/