Electronic – LTSpice: how to setup sinusoidal or exponential voltage source

ltspice

My textbook proposes to calculate power for the voltage source which has sinusoidal or exponential waveform. Probably my question is very silly, but I really don't know how to input textbook's equations using LTSpice independent voltage source setup menu:

v(t) = 10*sin(24t) + 14

and

v(t) = 12 + 15*exp(-200t)

What are DC offset, amplitude, frequency, Tdelay, Theta, Rise delay, Rise tau, etc? How to proceed if my volatge source has cosine (not sine) waveform?

Best Answer

Why not using an Arbitrary Behavioral Voltage?
In LTspice, you can enter the equations directly by adjusting the V=F(...) to V=10*sin(24*time) + 14 and for the other source with V= 12 + 15*exp(-200*time).

(Note you should use "time", not "t" )